Collects data from the Centigrade platform and relays it to the Centigrade app.
Before the Centigrade backend can be deployed, the host system must be set up to work with Docker. Apart from setting up a new server with users, etc., the requirements for deployment are the Docker CE Engine and Docker Compose.
The installation of the Docker components is a bit beyond the scope of this document, but the links below should be plenty to get them installed.
- Install Docker CE Engine
- Install Docker Compose
- Clone the repository
git clone https://github.com/cntgrd/server.git
cd server
- Create the
.env
file, and place it inserver/config/
POSTGRES_DB=<Database name>
POSTGRES_PASSWORD=<password>
POSTGRES_USER=<Username>
- Run the following command to spin up the Docker environment:
make deploy_dev
- Clone the repository
git clone https://github.com/cntgrd/server.git
cd server
- Create the
.env
file, and place it inserver/config/
POSTGRES_DB=<Database name>
POSTGRES_PASSWORD=<password>
POSTGRES_USER=<Username>
- Run the following command to spin up the Docker environment:
make deploy_production