A Django rest api for managing user profiles
- Attention: It's a good practice to run your code on a virtual server like Vagrant
- Vagrant (for more information -> Vagrant website)
- VirtualBox
- Django Version 1.11.1
- Django rest framework library Version 3.6.2
-
Setup And Config Vagrant
-
$ vagrant init
-
$ vagrant up
-
$ vagrant ssh
-
-
Create a virtual-environment on Vagrant
$ virtualenv "venv_name" --python=python3
$ source "venv_name/bin/activate"
Note: Enter
$ deactivate
for exit from venv -
Run server on vagrant for testing
$ python manage.py runserver 0.0.0.0:8080