Skip to content

codefordenver/shift-api

Repository files navigation

SHIFT_API

Development

With Docker daemon is running

Start local server API

  • make local

Fetch dependencies and starts file watcher (hot-reload)

  • make dev

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: