Skip to content

mefellows/home

Repository files navigation

Home

API for home management stuff.

Running Locally

Setup the local PG database:

make docker
make seed

Run with gin auto-reload:

make run
curl localhost:3000/health

Get a PSQL session

make psql

Make sure Heroku is installed

Make sure you have Go and the Heroku Toolbelt installed.

$ go get -u github.com/heroku/go-getting-started
$ cd $GOPATH/src/github.com/heroku/go-getting-started
$ heroku local

Your app should now be running on localhost:5000.

You should also install Godep if you are going to add any dependencies to the sample app.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy

Refreshing Heroku DB for development

make clean-heroku

Documentation

For more information about using Go on Heroku, see these Dev Center articles:

About

Home automation stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published