Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 815 Bytes

README.md

File metadata and controls

56 lines (39 loc) · 815 Bytes

progress tracker backend

how to run this project locally

Clone this project

create .env file in the backend directory and add your env variable

SECRET_KEY=

create virtual environment

python -m venv venv

activate virtual environment

# for windows 
venv\scripts\activate

# for mac 
venv/bin/activate

# for linux
source venv/bin/activate

IMPORTANT: Delete the migrations folder inside the app folder

create a folder name "migrations" inside the "app" folder & also create a "init.py" file inside the "migrations"

migrations
    __init__.py

install dependencies

pip install -r requirements.txt

migrate models

python manage.py makemigrations

python manage.py migrate

run server

python manage.py runserver