ComfortableMexicanSofa is a powerful CMS Engine for Ruby on Rails 3 applications
https://github.com/twg/comfortable-mexican-sofa
rails g cms
create db/migrate/20110628204406_create_cms.rb
create config/initializers/comfortable_mexican_sofa.rb
create public/stylesheets/comfortable_mexican_sofa
create public/stylesheets/comfortable_mexican_sofa/application.css
create public/stylesheets/comfortable_mexican_sofa/codemirror.css
create public/stylesheets/comfortable_mexican_sofa/content.css
create public/stylesheets/comfortable_mexican_sofa/form.css
create public/stylesheets/comfortable_mexican_sofa/reset.css
create public/stylesheets/comfortable_mexican_sofa/structure.css
create public/stylesheets/comfortable_mexican_sofa/typography.css
create public/stylesheets/comfortable_mexican_sofa/widgets.css
create public/javascripts/comfortable_mexican_sofa
create public/javascripts/comfortable_mexican_sofa/application.js
create public/javascripts/comfortable_mexican_sofa/codemirror/codemirror.js
create public/javascripts/comfortable_mexican_sofa/jquery.js
create public/javascripts/comfortable_mexican_sofa/jquery_ui.js
create public/javascripts/comfortable_mexican_sofa/plupload/plupload.html5.js
create public/javascripts/comfortable_mexican_sofa/plupload/plupload.js
create public/javascripts/comfortable_mexican_sofa/rails.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-blockquote.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-h1.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-h2.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-h3.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-h4.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-h5.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-h6.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-p.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/lbl-pre.png
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/wymiframe.css
create public/javascripts/comfortable_mexican_sofa/wymeditor/iframe/default/wymiframe.html
create public/javascripts/comfortable_mexican_sofa/wymeditor/jquery.wymeditor.cms.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/jquery.wymeditor.pack.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/bg.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/ca.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/cs.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/cy.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/de.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/en.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/es.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/fa.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/fi.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/fr.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/gl.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/he.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/hr.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/hu.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/it.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/nb.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/nl.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/nn.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/pl.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/pt-br.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/pt.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/ru.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/sv.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/tr.js
create public/javascripts/comfortable_mexican_sofa/wymeditor/lang/zh_cn.js
create public/images/comfortable_mexican_sofa
create public/images/comfortable_mexican_sofa/arrow_bottom.gif
create public/images/comfortable_mexican_sofa/arrow_right.gif
create public/images/comfortable_mexican_sofa/icon_layout.gif
create public/images/comfortable_mexican_sofa/icon_move.gif
create public/images/comfortable_mexican_sofa/icon_regular.gif
create public/images/comfortable_mexican_sofa/icon_snippet.gif
create public/images/comfortable_mexican_sofa/wym_icons.png
gsub public/stylesheets/comfortable_mexican_sofa/content.css
gsub public/stylesheets/comfortable_mexican_sofa/widgets.css
create db/cms_fixtures
create db/cms_fixtures/example.com/layouts/default/_default.yml
create db/cms_fixtures/example.com/layouts/default/content.html
create db/cms_fixtures/example.com/layouts/default/css.css
create db/cms_fixtures/example.com/layouts/default/js.js
create db/cms_fixtures/example.com/layouts/default/nested/_nested.yml
create db/cms_fixtures/example.com/layouts/default/nested/content.html
create db/cms_fixtures/example.com/layouts/default/nested/css.css
create db/cms_fixtures/example.com/layouts/default/nested/js.js
create db/cms_fixtures/example.com/pages/index/_index.yml
create db/cms_fixtures/example.com/pages/index/child/_child.yml
create db/cms_fixtures/example.com/pages/index/child/left.html
create db/cms_fixtures/example.com/pages/index/child/right.html
create db/cms_fixtures/example.com/pages/index/content.html
create db/cms_fixtures/example.com/snippets/default/_default.yml
create db/cms_fixtures/example.com/snippets/default/content.html
____ __ _ _ _
/ ___|___ _ __ ___ / _| ___ _ __| |_ __ _| |__ | | ___
| | / _ \| '_ ` _ \| |_ / _ \| '__| __/ _` | '_ \| |/ _ \
| |__| (_) | | | | | | _| (_) | | | || (_| | |_) | | __/
\____\___/|_| |_| |_|_| \___/|_| \__\__,_|_.__/|_|\___|
__ __ _ ____ __
| \/ | _____ _(_) ___ __ _ _ __ / ___| ___ / _| __ _
| |\/| |/ _ \ \/ / |/ __/ _` | '_ \ \___ \ / _ \| |_ / _` |
| | | | __/> <| | (_| (_| | | | | ___) | (_) | _| (_| |
|_| |_|\___/_/\_\_|\___\__,_|_| |_| |____/ \___/|_| \__,_|
Hey! Everything is almost done. Please don't forget to
* run migrations -> `rake db:migrate`
After that go to http://your-awesome-app/cms-admin to start populating content.
Default username and password are: username // password
rails里生产环境,提供静态文件:
vi config/environments/production.rb
# Disable Rails's static asset server
# In production, Apache or nginx will already do this
# config.serve_static_assets = false