Created
March 23, 2012 08:52
-
-
Save Vetal4eg/2168578 to your computer and use it in GitHub Desktop.
rails railsapp -m
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
git :init | |
run "echo 'TODO add readme content' > README" | |
run "touch tmp/.gitignore log/.gitignore vendor/.gitignore" | |
run "cp config/database.yml config/example_database.yml" | |
file ".gitignore", <<-END | |
log/*.log | |
tmp/**/* | |
config/database.yml | |
db/*.sqlite3 | |
END | |
git :add => ".", :commit => "-m 'initial commit'" | |
run "rm public/images/rails.png" | |
run "rm public/index.html" | |
run "echo 'New JuneCMS Application' > README" | |
file ".gitignore", <<-END | |
db/*.sqlite3 | |
log/*.log | |
public/system/**/* | |
tags | |
tmp/**/* | |
END | |
rake "db:migrate" | |
# JuneCMS | |
git :submodule => "add ssh://[email protected]/home/git/june-cms.git vendor/plugins/june-cms" | |
run "git submodule update --recursive" | |
rake "rake june_cms:sync" | |
rake "rake june_cms:add_migration" | |
plugin "fantom_controls", :git => "[email protected]:junestudio/fantom_controls.git", :submodule => true | |
plugin "Simple-nicEdit", :git => "[email protected]:junestudio/Simple-nicEdit.git", :submodule => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment