Skip to content

cntgrd/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centigrade Server

Build Status

Collects data from the Centigrade platform and relays it to the Centigrade app.

Deployment

Initial Setup

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.

Dev Server

  1. Clone the repository
git clone https://github.com/cntgrd/server.git
cd server
  1. Create the .env file, and place it in server/config/
POSTGRES_DB=<Database name>
POSTGRES_PASSWORD=<password>
POSTGRES_USER=<Username>
  1. Run the following command to spin up the Docker environment:
make deploy_dev

Production Server

  1. Clone the repository
git clone https://github.com/cntgrd/server.git
cd server
  1. Create the .env file, and place it in server/config/
POSTGRES_DB=<Database name>
POSTGRES_PASSWORD=<password>
POSTGRES_USER=<Username>
  1. Run the following command to spin up the Docker environment:
make deploy_production

About

Collects data from the Centigrade platform and relays it to the Centigrade app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published