27 lines
375 B
Makefile
27 lines
375 B
Makefile
|
default: run
|
||
|
|
||
|
DATABASE_NAME=db.sqlite3
|
||
|
|
||
|
configure:
|
||
|
python configure.py
|
||
|
|
||
|
rebuild: deldb syncdb initdb
|
||
|
|
||
|
deldb:
|
||
|
rm -f $(DATABASE_NAME)
|
||
|
|
||
|
syncdb:
|
||
|
python manage.py syncdb --noinput
|
||
|
|
||
|
initdb:
|
||
|
sqlite3 $(DATABASE_NAME) < seed.sql
|
||
|
|
||
|
run:
|
||
|
python manage.py runserver
|
||
|
|
||
|
clean:
|
||
|
find . -name "*.pyc" -print0 | xargs -0 rm
|
||
|
|
||
|
veryclean: deldb clean
|
||
|
rm -f allauthdemo/settings_generated.py
|