Skip to content

Instantly share code, notes, and snippets.

@Vetal4eg
Created March 23, 2012 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vetal4eg/2168578 to your computer and use it in GitHub Desktop.
Save Vetal4eg/2168578 to your computer and use it in GitHub Desktop.
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