This repository has been archived by the owner. It is now read-only.
Vagrant box with GHC, Haskell platform and the Heroku toolbelt.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cookbooks
README.md
Vagrantfile

README.md

ARCHIVED: This project has been Archived. I just develop natively with Stack now. Even if I didn't, I think Docker is now a better solution than Vagrant anyway. Cheers!


A vagrant box for working on Haskell projects.

Background

A fork of puffnfresh's bitbucket project which was based largely off John Bender's blog post and project.

Changes

  • Added apt recipe to get things working
  • Default shared directory (see Usage)

Planned changes

  • Automate cabal update
  • Remove heroku toolbelt (do that stuff in the host OS)
  • Networking settings for viewing yesod apps from host OS

Usage

From within your haskell project directory:

# Add this project as a submodule
$ git submodule add https://github.com/pbrisbin/vagrant-haskell ./vm
$ git submodule update --init

# Enter the submodule, bring up the VM, and SSH in
$ cd ./vm
$ vagrant up
$ vagrant ssh

# Within the VM update cabal (not strictly necessary, but a good idea)
[guest]$ cabal update
[guest]$ cabal install cabal-install

# Navigate to the shared sources and build your project
[guest]$ cd /app
[guest]$ cabal install