trashed-panda-backend
Backend server for Drink Roulette
Setup
This application requires Go version 1.7 or later. Dependencies are managed using Govendor. Install this tool using
$ go get -u github.com/kardianos/govendor
Then run
$ govendor sync
to install missing dependencies.
The backend requires tensorflow to run. To install Tensorflow for Go, follow the the official tensorflow installation instructions
Input data is managed using a PostgreSQL database. The connection string is managed by the environment variable DATABASE_URL. Set this to connect to a postgreSQL database with your own input data.
Set the PORT environment variable to the port the server will listen on. If this is not set the default is 8080.