Skip to content
Mohan Gauns edited this page Feb 6, 2019 · 4 revisions

projects-server2

REST APIs for projects-client

How to run

Clone the repo

git clone https://github.com/2root2/projects-server2.git

Change into directory

cd projects-server2

Create and activate Virtual environment

# creates virtual enviroment named venv
virtualenv --python=python3 venv
# activate the virtual enviroment named venv
source venv/bin/activate

Install dependancies

pip install requirements.txt If requirements.txt is giving error, install them manually

pip install Django==2.0.3
pip install djangorestframework
pip install django-cors-headers

Django makemigrations and migrate

python manage.py makemigrations python manage.py migrate

Run server

python manage.py runserver 0.0.0.0:8080

APIs can be accessed at http://localhost:8080/api/v1/projects/