The following will need to be known / obtained before getting started:
- Node.js and npm
- command-line (cli) / terminal
- Heroku account
- Heroku CLI installed and setup with your Heroku account
The following will need to be known / obtained before getting started:
| ** To install Golang on Ubuntu 17.xx server ** | |
| sudo add-apt-repository ppa:gophers/archive | |
| sudo apt-get update | |
| sudo apt-get install golang-1.9-go | |
| export PATH=$PATH:/usr/lib/go-1.9/bin | |
| go version (To verify its mapped correctly, should see something like: go version go1.9.2 linux/amd64) | |
| * make a directory for your go applications, I use /home/apps/go | |
| export GOPATH=/home/apps/go | |
| (Now from inside your /home/apps/go folder you can start creating your go apps) |
Sign up to Heroku.
Then install the Heroku Toolbelt. It is a command line tool to manage your Heroku apps
After installing the Heroku Toolbelt, open a terminal and login to your account: