react-blog-backend

requirements:

  • python
  • virtualenv
  • git

note: python in linux intalled by default for install python in windows, go to https://www.python.org/ and download python and install it

next run this command for install virtualenv

pip install virtualenv

for clone this project run this command

cd react-blog-backend

create a virtual envirement and activate

linux

virtualenv .venv
source .venv/bin/activate

windows

python -m virtualenv .venv
.venv\scripts\activate.bat

then install dependencie packages from requirements.txt using this command:

pip install -r requirements.txt

and run this commands to run django server:

python manage.py migrate
python manage.py runserver

and go to http://127.0.0.1:8000 and use this api!