vagrant-haskell-heroku / README.md

Vagrant project for deploying Haskell to Heroku

The project puts together the important parts of deploying Haskell to Heroku:

  • Ubuntu 10.04
  • GHC 7.4.4
  • Haskell Platform 2012.4.0.0
  • Heroku Toolbelt

After running vagrant up, you should be able to run vagrant ssh. After you're in, you should be able to compile and deploy your project:

git clone git@bitbucket.org:puffnfresh/my-haskell-project.git
cd my-haskell-project
git checkout -b deploy
cabal update
cabal install
git add -f dist/build/my-haskell-project/my-haskell-project
git commit -m "Deploy `date`"
git remote add heroku git@heroku.com:my-haskell-project.git
git push -f heroku deploy:master

This work is largely based off John Bender's blog post and project.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.