Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

GEI-WP/view-and-review

Repository files navigation

view-and-review

Open in Dev Containers

Run Locally

Development

  1. Copy the secrets/env.template file to secrets/.env.dev and fill it
  2. Run the containers:
    docker compose up --build
    
  3. Visit http://localhost:8000

Deployment

  1. Copy the secrets/env.template file to secrets/.env.dep and fill it
  2. Run the containers:
    docker compose -f docker-compose.dep.yml up --build
    
  3. Visit http://localhost

Deployment over HTTPS

  1. Copy the secrets/env.template file to secrets/.env.deps and fill it

  2. Install mkcert

  3. Create a local certificate authority

    mkcert -install
    
  4. Create a trusted certificate on /ngnix/certficates

    cd nginx/certificates
    
    mkcert localhost
    
  5. Run the containers:

    docker compose -f docker-compose.deps.yml up --build
    
  6. Visit https://localhost

Services

Development Deployment
Web app django django
WSGI django bulit-in gunicorn
Database postgreSQL postgreSQL
Web Server - nginx