forked from listrophy/suprails
/
README
78 lines (59 loc) · 2.31 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Copyright 2008 Bradley Grzesiak
# This file is part of Suprails.
#
# Suprails is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Suprails is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Suprails. If not, see <http://www.gnu.org/licenses/>.
Suprails
========
This project is intended to be a replacement for the "rails" command. It
does not replace the rails framework but rather provides a starting point
for a rails application far beyond what the "rails" command provides.
During execution, in fact, the suprails command calls the rails command.
How it works
============
Suprails is unlike most other "Rails plus other stuff" projects out there.
Instead of me, the Suprails author, deciding what you should have in your rails
app, you get to decide. In addition, any time you execute Suprails, you have
the option to update any gems that would otherwise be out-of-date.
Example configuration file (~/.suprails/config)
===============================================
# Notice that ruby comments work just fine!
# gems.update "rspec", "rails", "rspec-rails", "haml", "capistrano"
frozen_rails
gems.config :haml
gems.unpack
plugin "git://github.com/rails/exception_notification"
generate :rspec
folder "public/stylesheets/sass"
delete "public/index.html"
gpl
git
haml
Installation
============
$ sudo gem install listrophy-suprails --source http://gems.github.com
Execution
============
First, run suprails without any arguments:
$ suprails
This will initialize your ~/.suprails/ folder and configuration in that folder
You will now want to edit the configuration file to your liking. It is located
at: ~/.suprails/config
Now, run suprails instead of rails:
$ suprails AppName
History/Bugs
====
0.1.1 - Added the runcommand verb
0.1 - The DB commands do not yet work. You have to just use the file command
instead.
0.0.0 - Initial readme. No code.