- Setup your PostgreSQL database and create a .env file:
-
Create a file called
.env
in your project's root directory. -
Add the following lines to the
.env
file, replacing the placeholders with your actual database credentials:USER = <Postgres_Username> DATABASE_NAME = <Database_Name> DATABASE_PASS = <Database_Password>
-
- Run the following command to install the required Python dependencies:
pip install -r requirements.txt
- Run the following command to create database migration files based on your Django models:
python manage.py makemigrations
- Run the following command to apply the migrations and create the necessary tables in the database:
python manage.py migrate
- Change directory to the frontend folder:
cd frontend
- Run the following command to install the required frontend dependencies:
npm install