Skip to content

ibqn/django-graphql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Python environment

bash dev/prepare.bash
source dev/venv/bin/activate

Start server

python manage.py runserver

Dump database

python3 manage.py dumpdata --format json --indent 2 > mtv_model/fixtures/example-data.json

Load database

python3 manage.py loaddata mtv_model/fixtures/example-data.json