source env/bin/activate # On Windows use `env\Scripts\activate`
source env/bin/activate #On Linux and MacOS
~~~
### Install Django, Django REST framework and neomodel into the virtual environment
~~~
pip install django
env\Scripts\activate #On Windows
~~~
### Install requirements
~~~
pip install djangorestframework
pip install -r requirements.txt
~~~
### To add new requirements if needed
~~~
pip install neomodel
pip freeze > requirements.txt
~~~
### Django common command lines
#### Create constraintes
~~~
python manage.py install_labels
~~~
#### Track models changes
When you make changes to your models, your database needs to understand how these changes might affect the database. This command automatically makes files that document these changes.
~~~
python manage.py makemigrations
~~~
#### Run API server
This command you'll probably run the most of all commands. It means to run a emulated server on your local computer.