This repo holds the code for the Terrarium.ai enivronment, collective, and all other utility packages.
If you just want to run the services locally, you first need to install Go and run a local instance of redis on your computer
-grpc-port=<PORT_NUMBER> The port the gRPC server will run on
-http-port=<PORT_NUMBER> The port the REST server will run on
-log-level= The amount of logging you want
-env= The env can either be "prod", "training", or "testing".
When running the Simulation service, you need Firebase credentials in order to connect to a database.
-env=testing
The testing environment runs completely offline. This is used for unit testing.
-env=staging
The staging environment runs using our staging Firebase servers and a local Redis server.
-env=prod
Looks for a file called serviceAccountKey.json
in the root directory to use the prod environment.
If you are trying to run this service locally, you can go here to get a tutorial on generating these keys under the "Add Firebase to your app" section.