First clone the repository from Github and switch to the new directory:
$ git clone git@github.com/USERNAME/{{ project_name }}.git
$ cd {{ project_name }}
Activate the virtualenv for your project.
Install project dependencies:
$ pip install -r requirements/local.txt Then simply apply the migrations:
$ python manage.py migrate You can now run the development server:
$ python manage.py runserver
python manage.py createsuperuser
http://127.0.0.1:8000/users -Returns a list of all users.
http://127.0.0.1:8000/users/1 -Returns the user with the ID 1.
http://127.0.0.1:8000/users/create -Creates a new user with the specified data.
http://127.0.0.1:8000/users/delete/9 -Deletes the user with the ID 9 .
GET /users - Returns a list of all users.
GET /users/ - Returns the user with the specified ID.