Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
tlangens committed Jul 24, 2017
2 parents 018f27c + afd8cc4 commit 61e262b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ target/
.env

# virtualenv
venv/
bin/
include/
share/
pip-*


# SQLite db
db.sqlite3
Expand Down
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
install: bin/python

bin/python:
virtualenv -p /usr/bin/python3 .
bin/pip install -r requirements.txt

migrate: bin/python
bin/python teknologr/manage.py migrate

serve: bin/python
bin/python teknologr/manage.py runserver 8888

deploy: bin/python
bin/python teknologr/manage.py collectstatic --clear --noinput
touch teknologr/wsgi.py

clean:
rm -rf bin/ lib/ build/ dist/ *.egg-info/ include/ local/

0 comments on commit 61e262b

Please sign in to comment.