This is the project source code from my blog post on pixeldonor.com.
If you're a heroku fan, simply use the heroku button and you'll be up and running with the demo app in moments.
Should you wish to run the project local, you'll want to make sure you've set all the necessary environment variables.
There's two required environment variables AUTH_KEY
and ENCRYPT_KEY
which should be random strings. You can use this snippet on play.golang.org to generate your own. Remember, the ENCRYPT_KEY
should be of a fixed length (16, 24, or 32) so you'll need to adjust the string accordingly.