Skip to content
forked from Sutto/rubyflow

A Simplified Chinese Version of Peter Cooper's Rubyflow website

Notifications You must be signed in to change notification settings

libin/rubynews.cn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RUBYFLOW
Developed by Peter Cooper - 2008

---

All code developed by Peter Cooper within this project is in the public domain.
Plugins, Rails, and derivative code is licensed as it was originally (mostly MIT).

This code is entirely unsupported, lacks tests, and could well make your machine
explode. If you use it, you understand this and accept all the risks.

--- 

TO GET STARTED

I have not tested these instructions, but from memory..

Check config/database.yml and run migrations.

The RubyFlow code is designed to deal with multiple sites from one codebase (although not one installation).
The settings for a particular site are in config/[sitename].yml
The site name for the current installation is set on the first line of config/environment.rb
Current the setting is for "rubyflow", so config/rubyflow.yml is used.
Change the chosen site in config/environment.rb and create your own YML file.

Note that the chosen site name is added as a class to the BODY tag. This makes it easy to use the same
CSS file for multiple sites but apply site specific tweaks with BODY.sitename prefixes in the CSS!

About

A Simplified Chinese Version of Peter Cooper's Rubyflow website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.7%
  • JavaScript 0.3%