Skip to content

Instantly share code, notes, and snippets.

@rickmzp
Created December 20, 2009 14:56
Show Gist options
  • Save rickmzp/260517 to your computer and use it in GitHub Desktop.
Save rickmzp/260517 to your computer and use it in GitHub Desktop.
# get app name
app_name = ask("What's the name of your app?")
# clean up files
run "rm -rf public/javascripts/* public/stylesheets"
# compass
run "compass --rails . -f 960 -r ninesixty"
# git setup
run "touch tmp/.gitignore log/.gitignore"
file ".gitignore", <<-EOF
.DS_Store
*.swp
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
EOF
# initial commit
git :init
git :add => "."
git :commit => "-a -m 'Initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment