- 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