Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 868 Bytes

README.md

File metadata and controls

64 lines (41 loc) · 868 Bytes

Django REST API With Class-Based Views

Project Setup on Your Computer

  • Clone the repo to your computer by using the git-clone command.
git clone git@github.com:makeuseofcode/django-pagination.git
  • Create a virtual environment for your dependencies.

For Windows:

python -m venv env

For Linux and Mac:

python3 -m venv env
  • Activate your virtual environment.

For Windows:

env\scripts\activate

For Linux and Mac:

source env/bin/activate

For Git Bash on Windows:

source env/scripts/activate
  • Install the dependencies in the requirements.txt file.

For Windows:

pip install -r requirements.txt

For Linux and Mac:

pip3 install -r requirements.txt
  • Start your local server.
python manage.py runserver