-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #321 from salopensource/version-4
Version 4
- Loading branch information
Showing
257 changed files
with
3,319 additions
and
4,519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
ignore = F401,F405,E402,F403,W504,W605 | ||
max-line-length = 100 | ||
max-complexity = 126 | ||
exclude = venv/*,*/migrations/*,wip_plugins/*,datatableview/*, sal/settings.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ sal/settings.py | |
|
||
sal-small.db | ||
sal_env/ | ||
plugins.old | ||
|
||
# node stuff | ||
node_modules/ | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Sal Dockerfile | ||
FROM ubuntu:14.04 | ||
FROM python:3.7.1 | ||
|
||
MAINTAINER Graham Gilbert <[email protected]> | ||
|
||
|
@@ -17,18 +17,19 @@ ENV MAINT_FREQUENCY 300 | |
# ENV DOCKERIZE_VERSION v0.3.0 | ||
|
||
RUN apt-get update && \ | ||
mkdir -p /usr/share/man/man1 && \ | ||
mkdir -p /usr/share/man/man7 && \ | ||
apt-get install -y libc-bin && \ | ||
apt-get install -y software-properties-common && \ | ||
apt-get -y update && \ | ||
add-apt-repository -y ppa:nginx/stable && \ | ||
apt-get -y install \ | ||
git \ | ||
gcc \ | ||
nginx \ | ||
python-setuptools \ | ||
postgresql \ | ||
postgresql-contrib \ | ||
libpq-dev \ | ||
python-dev \ | ||
python3-dev \ | ||
curl \ | ||
supervisor \ | ||
libffi-dev && \ | ||
|
@@ -37,10 +38,9 @@ RUN apt-get update && \ | |
mkdir /tmp/setup | ||
COPY setup/requirements.txt /tmp/setup/requirements.txt | ||
COPY requirements.txt /tmp/requirements.txt | ||
RUN easy_install pip && \ | ||
pip install -r /tmp/requirements.txt && \ | ||
RUN pip install -r /tmp/requirements.txt && \ | ||
rm /tmp/requirements.txt && \ | ||
rm -rf /tmp/setup && \ | ||
# rm -rf /tmp/setup && \ | ||
update-rc.d -f postgresql remove && \ | ||
update-rc.d -f nginx remove && \ | ||
mkdir -p /home/app && \ | ||
|
@@ -67,6 +67,9 @@ RUN chmod 755 /run.sh && \ | |
touch $APP_DIR/sal.log &&\ | ||
chmod 777 $APP_DIR/sal.log | ||
|
||
#&& \ | ||
#find . -name $APP_DIR/\*.pyc -delete | ||
|
||
WORKDIR $APP_DIR | ||
EXPOSE 8000 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ | ||
{ | ||
"model": "server.message", | ||
"pk": 1, | ||
"fields": { | ||
"machine": 1, | ||
"text": "Missing plist path or version!", | ||
"date": "2019-02-28T21:00:46.441Z", | ||
"message_type": "ERRORS" | ||
} | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.