Skip to content

Commit

Permalink
Merge pull request #5 from solidsnack/master
Browse files Browse the repository at this point in the history
Simplify use of Bash script for setup
  • Loading branch information
snoyberg committed Dec 29, 2012
2 parents 894607b + 17843e9 commit 855ae91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Deployment system for Yesod (and other Haskell) web apps.

Do get Keter up-and-running quickly on an Ubuntu system, run:

wget -O - https://raw.github.com/snoyberg/keter/master/setup-keter.sh | bash -ex
wget -O - https://raw.github.com/snoyberg/keter/master/setup-keter.sh | bash

(Note: you may need to run the above command twice, if the shell exits after
`apt-get` but before running the rest of its instructions.) This will download
Expand Down
5 changes: 3 additions & 2 deletions setup-keter.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash -ex
#!/bin/bash
set -o errexit -o nounset -o xtrace

sudo apt-get install postgresql haskell-platform

Expand Down Expand Up @@ -39,4 +40,4 @@ sudo mv /tmp/keter.conf /etc/init
sudo start keter

sudo mkdir -p /opt/keter/incoming
sudo chown $USER /opt/keter/incoming
sudo chown "$USER" /opt/keter/incoming

0 comments on commit 855ae91

Please sign in to comment.