Created
July 4, 2011 19:20
-
-
Save ithayer/1063814 to your computer and use it in GitHub Desktop.
Clojure on Heroku with Noir and Mongo Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install latest version of noir. | |
lein install noir "1.1.0-SNAPSHOT" | |
# Create new noir project. | |
lein noir new noir-mongo-heroku | |
cd noir-mongo-heroku | |
# Create instructions for heroku. | |
echo 'web: lein run' > Procfile | |
# Create git repository. | |
git init | |
git add . | |
git commit -m "Initial commit" | |
# Initialize heroku app. | |
heroku create --stack cedar | |
# Push to heroku. | |
git push heroku master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Install lein | |
wget https://raw.github.com/technomancy/leiningen/stable/bin/lein | |
sh lein | |
# 2. Install heroku gem | |
gem install heroku |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku addons:add mongohq:free |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment