Skip to content

Instantly share code, notes, and snippets.

@danp
Created November 23, 2012 01:27
Show Gist options
  • Select an option

  • Save danp/4133599 to your computer and use it in GitHub Desktop.

Select an option

Save danp/4133599 to your computer and use it in GitHub Desktop.
go-pq-test on heroku
% heroku create -b https://github.com/kr/heroku-buildpack-go.git
Creating boiling-island-3654... done, stack is cedar
BUILDPACK_URL=https://github.com/kr/heroku-buildpack-go.git
http://boiling-island-3654.herokuapp.com/ | git@heroku.com:boiling-island-3654.git
Git remote heroku added
% heroku addons:add heroku-postgresql:dev
Adding heroku-postgresql:dev on boiling-island-3654... done, v4 (free)
Attached as HEROKU_POSTGRESQL_YELLOW_URL
Database has been created and is available
! This database is empty. If upgrading, you can transfer
! data from another database with pgbackups:restore.
.
Use `heroku addons:docs heroku-postgresql:dev` to view documentation.
% git push heroku master
Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (6/6), 765 bytes, done.
Total 6 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
-----> Fetching custom git buildpack... done
-----> Go app detected
-----> Installing Go 1.0.3... done
Installing Virtualenv... done
Installing Mercurial... done
Installing Bazaar... done
-----> Running: go get ./...
-----> Discovering process types
Procfile declares types -> (none)
-----> Compiled slug size: 936K
-----> Launching... done, v7
http://boiling-island-3654.herokuapp.com deployed to Heroku
To git@heroku.com:boiling-island-3654.git
* [new branch] master -> master
% heroku run go-pq-test
Running `go-pq-test` attached to terminal... up, run.1
1
2
3
4
5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment