trashed-panda-backend

command module
v0.0.0-...-84b485e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2018 License: MIT Imports: 15 Imported by: 0

README

Build Status

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.

Documentation

Overview

The main package contains all logic for handling http requests to trashed-panda-backend

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL