Skip to content

Instantly share code, notes, and snippets.

@lattejed
Last active August 29, 2015 14:07
Show Gist options
  • Save lattejed/eb7b5a847558b7ca39b6 to your computer and use it in GitHub Desktop.
Save lattejed/eb7b5a847558b7ca39b6 to your computer and use it in GitHub Desktop.
# After you've installed the Haskell platform set up Stackage for cabal:
# This is the Stackage URL I used:
# remote-repo:stackage:http://www.stackage.org/stackage/b17902988efbf57733fa4270a2ea60e9d988098d
# Just replace the current remote-repo:... line in ~/.cabal/config with the one above
# Load the list of packages from Stackage
cabal update
# Install Yesod
cabal install alex happy yesod-bin
# Install, compile and run the site locally to try it out at http://localhost:3000
yesod init # name it my-yesod-app
cd my-yesod-app && cabal install --enable-tests --reorder-goals --max-backjumps=-1 -j
yesod devel
# Edit your my-yesod-app/config/keter.yml file
# You'll need to set `user-edited:` to `true`
# And fill in your test host under `hosts:`, removing anything that shouldn't be there
vim config/keter.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment