Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (22 sloc) 710 Bytes
clean:
@find . -name "*.pyc" -delete
deps:
@pip install -qr requirements.txt
test: deps clean
@python manage.py test
jasminedeps: deps
@pip install -qr test_requirements.txt
jasmine: jasminedeps
@jasmine-splinter -f `pwd`/pythonbrasil8/static_files/tests/jasmine/SpecRunner.html -b chrome
setup: deps
@python manage.py syncdb
@python manage.py migrate
@python manage.py loaddata pythonbrasil8/fixtures/initial_data.json
settings:
cp pythonbrasil8/settings_local.py{.example,}
run:
@python manage.py runserver 0.0.0.0:8000
translate:
@cd pythonbrasil8 && django-admin.py makemessages -a && django-admin.py compilemessages
help:
@grep '^[^#[:space:]].*:' Makefile | awk -F ":" '{print $$1}'