Prerequisites:

  1. Docker Desktop - https://www.youtube.com/watch?v=JBEUKrjbWqg
  2. Github Repo Access - https://github.com/seyxhel/Tagpo

Take notes:

  1. All actions are done in Tagpo/backend directory only

Backend repo setup

  1. Clone the repository and navigate to backend directory
git clone <https://github.com/seyxhel/Tagpo>
cd Tagpo/backend
  1. Create a .env file

    Make sure that .env file is located in Tagpo/backend/.env

SECRET_KEY=
DEBUG=True
ALLOWED_HOSTS=

DB_NAME=your_db_name
DB_USER=your_db_user
DB_PASSWORD=your_password
# DB_HOST=localhost # For native development
DB_HOST=db # If using docker environment
DB_PORT=5432

PGADMIN_EMAIL=your_pgadmin_email
PGADMIN_PASSWORD=your_pgadmin_password

Run Backend Services (Docker)

Note - Make sure your Docker Desktop app is currently running

  1. Build and Run the tagpo docker environment:
docker-compose up --build