This file contains 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
# load libraries | |
require 'rubygems' rescue nil | |
alias q exit | |
class Object | |
def local_methods | |
(methods - Object.instance_methods).sort | |
end | |
end |
This file contains 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
# remove unused files | |
remove_file "README" | |
remove_file "public/index.html" | |
remove_file "public/images/rails.png" | |
remove_file "app/views/layouts/application.html.erb" | |
remove_file "public/javascripts/controls.js" | |
remove_file "public/javascripts/dragdrop.js" | |
remove_file "public/javascripts/effects.js" | |
remove_file "public/javascripts/prototype.js" | |
remove_file "public/javascripts/rails.js" |
This file contains 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
#!/bin/sh | |
NAME=$1 | |
radiant -d sqlite3 $NAME | |
cd $NAME | |
rake db:bootstrap ADMIN_NAME=Administrator ADMIN_USERNAME=admin ADMIN_PASSWORD=radiant DATABASE_TEMPLATE=empty.yml OVERWRITE=true | |
echo "--- | |
- name: copy-move |