Commit a0c8d386d767b6119c118fdaf52cc0f4c77007b8
1 parent
bddcf1ac
Exists in
master
and in
1 other branch
added docs for javascript and styles
Showing
2 changed files
with
29 additions
and
4 deletions
Show diff stats
README.markdown
... | ... | @@ -7,16 +7,21 @@ thoughtbot's Suspenders modified for Heroku. |
7 | 7 | cd heroku_suspenders |
8 | 8 | ./script/create_project project_name |
9 | 9 | |
10 | -This will create a Rails 2.3.2 app with: | |
10 | +This will create a Rails 2.3.2 app with Heroku-recommended code: | |
11 | 11 | |
12 | 12 | * Paperclip for file uploads, set for Amazon S3 |
13 | -* Clearance for authentication | |
14 | 13 | * Gmail SMTP for email |
15 | -* Cucumber, Shoulda, Factory Girl, & Mocha for testing | |
16 | 14 | * Delayed Job for background processing |
17 | 15 | * Hoptoad Notifier for exception notification |
18 | 16 | * Google Analytics for usage analytics |
19 | -* Coulda for model, controller, & helper generators | |
17 | + | |
18 | +... and some other opinions: | |
19 | + | |
20 | +* jQuery for Javascript | |
21 | +* Clearance for authentication | |
22 | +* Cucumber, Shoulda, Factory Girl, & Mocha for testing | |
23 | +* Stylus for CSS framework | |
24 | +* Coulda for features, model, controller, & helper generators | |
20 | 25 | |
21 | 26 | Get the latest & greatest at anytime with: |
22 | 27 | ... | ... |
doc/README_FOR_TEMPLATE
... | ... | @@ -106,6 +106,26 @@ from Joe Ferris that adds test spies (assert_received) to Mocha. |
106 | 106 | |
107 | 107 | jferris-mocha --version '0.9.5.0.1241126838' --source gems.github.com |
108 | 108 | |
109 | +Javascript | |
110 | +---------- | |
111 | + | |
112 | +jQuery and jRails are included. | |
113 | + | |
114 | +Styles | |
115 | +------ | |
116 | + | |
117 | +Heroku's Suspenders includes a lightweight CSS framework called Stylus. | |
118 | + | |
119 | +public/stylesheets/screen.css is included in the application layout. | |
120 | +It imports the Stylus framework: | |
121 | + | |
122 | + @import url("framework/reset.css"); | |
123 | + @import url("framework/typography.css"); | |
124 | + @import url("framework/layout.css"); | |
125 | + @import url("framework/forms.css"); | |
126 | + | |
127 | +Add another import for your own styles, by convention named after your app. | |
128 | + | |
109 | 129 | Mascot |
110 | 130 | ------ |
111 | 131 | ... | ... |