13 lines
240 B
Makefile
13 lines
240 B
Makefile
MANAGEPY=foreman run env/bin/python manage.py
|
|
|
|
update:
|
|
virtualenv env
|
|
env/bin/pip install -r localrequirements.txt
|
|
$(MANAGEPY) syncdb
|
|
$(MANAGEPY) migrate
|
|
|
|
run: update
|
|
$(MANAGEPY) runserver 0.0.0.0:8000
|
|
|
|
deploy:
|
|
git push heroku master
|