forked from Optiways/django-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (15 loc) · 636 Bytes
/
Copy pathMakefile
File metadata and controls
22 lines (15 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
run: ## Run the test server.
python manage.py runserver_plus
install: ## Install the python requirements.
pip install -r requirements.txt
migrate: ## Apply migrations.
python manage.py migrate
makemigrations: ## Create new migrations based on the models.
python manage.py makemigrations
create_admin_user: ## Create a superuser for the admin interface.
python manage.py createsuperuser --username admin --email admin@test.com
create_data: ## Create initial data.
python manage.py create_data
test: ## Run all tests.
python manage.py test padam_django.tests
setup_and_run: install migrate create_data create_admin_user run