- rails new
- " -T "
- " -d "
- locale files
- curl https://raw.github.com/svenfuchs/rails-i18n/master/rails/locale/zh-CN.yml > config/locales/defaults.zh-CN.yml
-
- mongoid locale
- http://mongoid.org/en/mongoid/docs/installation.html#configuration(mongoid 3.0 only)
- readme
- Gemfile
- haml
This file contains hidden or 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
#https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-mongoid-omniauth-template.rb | |
# >----------------------------[ Initial Setup ]------------------------------< | |
initializer 'generators.rb', <<-RUBY | |
Rails.application.config.generators do |g| | |
end | |
RUBY | |
@recipes = ["haml", "mongoid", "rspec", "guard", "omniauth", "home_page", "cleanup", "git"] |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
##Amalgam CMS v3.x新建项目指南 | |
###1. 从模板新建: | |
包含表单的版本: | |
git clone [email protected]:xtunes/cms_template.git -b with_request 项目名称 | |
不包含表单的版本: | |
git clone [email protected]:xtunes/cms_template.git 项目名称 |