Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rails railsapp -m
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://git@junestudio.ru/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 => "git@github.com:junestudio/fantom_controls.git", :submodule => true
plugin "Simple-nicEdit", :git => "git@github.com:junestudio/Simple-nicEdit.git", :submodule => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment