Skip to content

UCalgaryRacing/srv-database-ms

Repository files navigation

SRV database MS

How to run the server

  1. Install go and docker in you local device
  2. Once you have installed go check the GOPATH of your machine by using the go env commmand in the terminal
  3. Navigate to the GOPATH
  4. In GOPATH create a new directories src, github.com, and SchulichRacingElectrical. You should have this folder structure
GOPATH
└───src
    └───github.com
        └───SchulichRacingElectrical
  1. Inside SchulichRacingElectrical directory, clone this repository
  2. Navigate to srv-database-ms
  3. Add the firebase_config.json folder in the config directory
    • Will need to create config directory
  4. Run the command docker compose up to start the server inside a docker container
    • The server will be using port 8080 so make sure that no other processes is using that port
    • Once the server starts, it should display all available endpoints
    • If using a Linux device, download docker-compose and use docker-compose up to start container
  5. Crt-d to kill the container

About

Sensor-Thing-Operator API for SR Velocity

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 8