atlas-wheatear / tolqc

ToLQC API and website. This is a mirror of the GitLab repository - please don't commit to this repo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running with Docker

To run the app on a Docker container, first you will need to set up a file with the necessary environment variables. Let's call this .env.dev (there is a template file .env.template you can use as a template!). Then, execute the following from the root directory:

# running the app (devlopment) - N.B. database will need initialising
docker-compose --env-file .env.dev up --build --abort-on-container-exit tolqc-api tolqc-ui tolqc-db

# Running API tests
docker-compose --env-file .env.dev up --build --abort-on-container-exit tolqc-api-test

# Running UI tests (watch mode)
docker-compose --env-file .env.dev up --build --abort-on-container-exit tolqc-ui-test

Everything for staging and prod is built/tested/deployed via GitLab. Commit to the staging or production branch to trigger the pipeline.

About

ToLQC API and website. This is a mirror of the GitLab repository - please don't commit to this repo.


Languages

Language:Python 92.4%Language:TypeScript 5.0%Language:SCSS 1.4%Language:HTML 0.6%Language:Dockerfile 0.3%Language:CSS 0.2%Language:Shell 0.1%