Skip to content

Commit

Permalink
Refactor directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nhumrich committed May 18, 2016
1 parent 61549bc commit 5323e56
Show file tree
Hide file tree
Showing 60 changed files with 5 additions and 57 deletions.
8 changes: 0 additions & 8 deletions .docker/config.json

This file was deleted.

4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
from canopytax/alpine
FROM canopytax/alpine

RUN apk add --update \
nodejs \
postgresql-dev gcc python3-dev musl-dev \
python3 && \
python3 -m ensurepip && \
rm -rf /var/cache/apk/*

RUN npm install -g nodemon
COPY . /app/
RUN python3 -m pip install -r /app/requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUN python3 -m pip install -r /app/requirements.txt

EXPOSE 8445
WORKDIR /app
CMD ["dumb-init", "/app/startup.sh"]
CMD ["dumb-init", "/app/startup.sh"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 0 additions & 10 deletions auth/auth.py

This file was deleted.

30 changes: 0 additions & 30 deletions meister/core.py

This file was deleted.

1 change: 0 additions & 1 deletion migrate-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ opts="--force"
fi

while ! nc -z $DATABASE_URL 5432; do sleep 4; done
cd serf/
alembic upgrade head


Expand Down
2 changes: 1 addition & 1 deletion serf.py → run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
from serf import core
from tmeister import core

if __name__ == '__main__':
core.main()
1 change: 0 additions & 1 deletion serf/alembic/README

This file was deleted.

Empty file removed serf/alembic/__init__.py
Empty file.
Empty file removed serf/alembic/versions/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ echo ---Running serf---
/app/migrate-db.sh
if [ "$DEBUG" == "true" ];
then
nodemon --exec "python3 -u" /app/serf.py -i /app/serf/static/jspm_packages/
nodemon --exec "python3 -u" /app/run.py -i /app/toggle-meister/static/jspm_packages/

else
exec python3 -u /app/serf.py
python3 -u /app/run.py
fi
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5323e56

Please sign in to comment.