codefordenver / shift-api

1 stars 0 forks source link
api census code-for-america code-for-denver

SHIFT_API

Development

With Docker daemon is running

Start local server API

Fetch dependencies and starts file watcher (hot-reload)

Prerequisites

Install:

Add to your environment variables:

# GOPATH
export GOPATH="${HOME}/go"
export PATH="$GOPATH/bin:$PATH"
export GO111MODULE=on

Add a file to store your environment variables

You need a config.json file. You can copy the config.example.json file (cp config.example.json config.json) and add environment variables as we need more in the app.

Optional: