Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
MANAGEPY = python regi/manage.py
run:
$(MANAGEPY) runserver
prod:
$(MANAGEPY) runserver '0.0.0.0:80' --settings=regi.settings.prod
clean:
rm -f regi/regi/db.sqlite3
rm -f regi/registration/migrations/0*
$(MANAGEPY) makemigrations
$(MANAGEPY) migrate
$(MANAGEPY) loaddata regi/registration/fixtures/initial_data*.json
$(MANAGEPY) shell -c "from django.contrib.auth.models import User; User.objects.filter(email='admin@example.com').delete(); User.objects.create_superuser('admin', 'admin@example.com', '123')"
migrate: makemigrations
$(MANAGEPY) migrate
makemigrations:
$(MANAGEPY) makemigrations
createsuperuser:
$(MANAGEPY) shell -c "from django.contrib.auth.models import User; User.objects.filter(email='admin@example.com').delete(); User.objects.create_superuser('admin', 'admin@example.com', '123')"
createstaff: makemigrations migrate
$(MANAGEPY) loaddata regi/regi/fixtures/initial_user.json
collectstatic:
$(MANAGEPY) collectstatic
initial_data:
$(MANAGEPY) loaddata initial_data.json
install:
pip install tox ipdb
pip install -e .