To setup your development environment:
-
Create virtual environment
virtualenv venv
-
Activate your virtual environment with
venv\Scripts\activate
-
cd project
and install requirements withpip install -r requirements.txt
-
Place
.env
file under this path:final\project
-
Create migration files
python manage.py makemigrations
-
Handle database migrations if any
python manage.py migrate
-
Run the server with
python manage.py runserver
-
Open another terminal for frontend and run
cd project/frontend
-
Install node modules with
npm install
-
Run with
npm start