Open your favorite Terminal and run these commands.
First open the directry where you want to clone the project
cd "path/to/your/dierectry"- Clone the Repository and go to the Repository
git clone <repository_url>
cd <repository_name>- Create and Activate a Virtual Environment
# Create a virtual environment
python -m venv env
# Activate the virtual environment
# On Windows
env\Scripts\activate
# On macOS and Linux
source env/bin/activate- Install Project Dependencies
pip install -r requirements.txt- Create Migrations
python manage.py makemigrations- Apply Migrations
python manage.py migrate- Create a superuser
python manage.py createsuperuser- Start the Development Server
python manage.py runserverNote: keep the server on to test in local.
- Check on the browser.
127.0.0.1:8000