Skip to content

Instantly share code, notes, and snippets.

@half-ogre
Created August 5, 2009 20:29
Show Gist options
  • Save half-ogre/162929 to your computer and use it in GitHub Desktop.
Save half-ogre/162929 to your computer and use it in GitHub Desktop.
#!/bin/bash
# first run 'rails my-app' and 'cd my-app'
git init
touch .gitignore
echo -e "log/*.log\ntmp/**/*\ndoc/api\ndoc/app\ndb/*.sqlite3" >> .gitignore
touch log/.gitignore
touch tmp/.gitignore
touch public/stylesheets/.gitignore
curl --output ./public/javascripts/jquery.min.js http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js
sudo gem install haml
haml --rails .
git add .
git commit -a -m "created app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment