retropilot-server/environment/uat/README.md

38 lines
749 B
Markdown
Raw Normal View History

2022-04-13 09:29:55 -06:00
# User Acceptance Testing (UAT) environnment
Hostname: `uat.api.retropilot.org`
## Usage
### Environment
Copy `.env.sample` to `.env` and edit as needed.
```
cp .env.sample .env
```
### Deployment
Note that the first time you run the PostgreSQL container it will have to initialise.
The server and worker cannot interact with it before this happens.
Before first run:
```
cd environment/uat
# Create the database
docker-compose up db
# CTRL-C when "database system is ready to accept connections" message appears
# Allow the API program to initialise the database schema
docker-compose up db api
# CTRL-C when "RetroPilot Server listening at" message appears
```
To start all the services:
```
cd environment/uat
docker-compose up -d
```