-
Notifications
You must be signed in to change notification settings - Fork 28
/
README
47 lines (31 loc) · 1.64 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Streamlined - http://streamlinedframework.org/
===================
Streamlined allows you to quickly generate useful user interfaces, declaratively.
Streamlined is not a code generator. It relies on you having an existing database schema,
controllers and models. If you have not done so yet, follow the instructions in the
"Rolling with Ruby on Rails Revisited" article series at...
http://www.onlamp.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html
...to create a database and some controllers and models. Then, to make any controller
into a Streamlined controller, do the following:
class MyNiftyController < ApplicationController
layout 'streamlined'
acts_as_streamlined
...[anything else you want to do]
end
More documentation can be found on the Streamlined wiki at http://trac.streamlinedframework.org/
NOTE: You cannot extend ApplicationController with acts_as_streamlined, only children of ApplicationController.
== Running tests
Streamlined comes bundled with a set of unit and functional tests. You must install the latest
versions of the following gems to run these tests:
* flexmock (0.6.2 or higher)
* rcov (0.7.0.1 or higher)
* mocha (0.5.5)
* test-spec (0.4.0 or higher)
To initialize your local database and run the tests, execute:
> cd vendor/plugins/streamlined
> rake test:build_mysql_databases
> rake
If database creation task fails, make sure your config/database.yml file is configured properly
for your local installation of MySQL.
Clone or view the Streamlined Source at: http://github.com/relevance/streamlined/
Clone or view some sample apps as: http://github.com/relevance/streamlined_samples/