-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrails-application-templates.html
377 lines (377 loc) · 20.2 KB
/
rails-application-templates.html
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Rails Application Template Projects · RailsApps</title>
<meta name="viewport" content="width=device-width">
<link href="https://plus.google.com/117374718581973393536" rel="publisher">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.2.2/css/normalize.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.2.2/css/foundation.min.css">
<link rel="stylesheet" href="http://railsapps.github.io/css/railsapps.css" />
<link rel="stylesheet" href="http://railsapps.github.io/css/syntax.css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="http://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<script type="text/javascript">
window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
window.analytics.load("l1stqfqqbf");
window.analytics.page();
window.analytics.ready(function () {
ga('require', 'linker');
ga('linker:autoLink', ['railscomposer.com','learn-rails.com','blog.railsapps.org','tutorials.railsapps.org']);
});
</script>
</head>
<body>
<div class="fixed">
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<a href="http://railsapps.github.io/" class="brand">RailsApps Project</a>
</li>
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
<ul class="right">
<li><a href="https://tutorials.railsapps.org/" class="google">Tutorials</a></li>
<li><a href="http://twitter.com/rails_apps" class="twitter">Twitter</a></li>
<li><a href="http://blog.railsapps.org/" class="twitter">Blog</a></li>
<li><a href="https://github.com/RailsApps" class="github">GitHub Repository</a></li>
</ul>
</section>
</nav>
</div>
<div class="row">
<div class="large-12 columns">
<div class="content wikistyle gollum textile">
<h1>Rails Application Template Projects</h1>
<h4>by Daniel Kehoe</h4>
<p><em>Last updated 28 May 2014</em></p>
<p>Rails application templates are Ruby scripts used with the <code>"rails new myapp -m"</code> command to generate a Rails web application. They are often used to generate starter apps that can be the basis of any new Rails project.</p>
<p>Also see an annotated list of <a href="http://railsapps.github.io/rails-examples-tutorials.html">Rails Examples, Tutorials, and Starter Apps</a>.</p>
<h4>If You Are New to Rails</h4>
<p>If you’re new to Rails, see <a href="http://railsapps.github.io/what-is-ruby-rails.html">What is Ruby on Rails?</a>, the book <a href="http://learn-rails.com/learn-ruby-on-rails.html">Learn Ruby on Rails</a>, and recommendations for a <a href="https://tutorials.railsapps.org/rails-tutorial">Rails tutorial</a>.</p>
<h4><a href="http://railsapps.github.io/"><img src="http://railsapps.github.io/images/join/join-railsapps.png" title="Join RailsApps" alt="Join RailsApps"></a></h4>
<h4>What is the RailsApps Project?</h4>
<p>This is an article from the RailsApps project. The <a href="http://railsapps.github.io/">RailsApps project</a> provides example applications that developers use as starter apps. Hundreds of developers use the apps, report problems as they arise, and propose solutions. Rails changes frequently; each application is known to work and serves as your personal “reference implementation.” Each application is accompanied by a tutorial so there is no mystery code. Support for the project comes from subscribers. Please accept our invitation to <a href="http://railsapps.github.io/">join the RailsApps project</a>.</p>
<h2>Template-generating Websites</h2>
<p>These websites allow you to select “recipes” and generate an application template and a starter app.</p>
<table>
<tr>
<th>Author </th>
<th>Site </th>
<th>Comments </th>
</tr>
<tr>
<td> Erik Nomitch </td>
<td> <a href="http://prelang.com/">prelang.com</a> </td>
<td> choose features and save to GitHub </td>
</tr>
<tr>
<td> Daniel Davey </td>
<td> <a href="http://drone.bz/">drone.bz</a> </td>
<td> emphasis on Sass, Compass, Coffeescript and Slim </td>
</tr>
<tr>
<td> Michael Bleigh </td>
<td> <a href="http://railswizard.org/">RailsWizard</a> </td>
<td> recipes are outdated, not maintained </td>
</tr>
</table>
<h2>Template-generating Gems</h2>
<p>Install these gems to generate an application template and a starter app.</p>
<p>Some have a collection of “recipes”. Fork the gem and edit the recipes for a custom app template.</p>
<table>
<tr>
<th>Author </th>
<th>Gem </th>
<th>Comments </th>
</tr>
<tr>
<td> Daniel Davey </td>
<td> <a href="https://github.com/jeriko/app_drone">app_drone</a> </td>
<td> Built for the <a href="http://drone.bz/">drone.bz</a> website; many recipes </td>
</tr>
<tr>
<td> Daniel Kehoe </td>
<td> <a href="https://github.com/RailsApps/rails_apps_composer">Rails Apps Composer</a> </td>
<td> A fork of the <a href="https://github.com/intridea/rails_wizard">RailsWizard</a> gem; actively maintained </td>
</tr>
<tr>
<td> Dr. Nic Williams </td>
<td> <a href="http://appscrolls.org/">App Scrolls</a> </td>
<td> A fork of the <a href="https://github.com/intridea/rails_wizard">RailsWizard</a> gem </td>
</tr>
<tr>
<td> Michael Bleigh </td>
<td> <a href="https://github.com/intridea/rails_wizard">RailsWizard</a> </td>
<td> Built for the <a href="http://railswizard.org/">RailsWizard</a> website; no longer maintained </td>
</tr>
<tr>
<td> Kevin Faustino </td>
<td> <a href="https://github.com/kfaustino/rails-templater">Rails Templater</a> </td>
<td> Mongoid or ActiveRecord </td>
</tr>
<tr>
<td> Kristian Mandrup </td>
<td> <a href="https://github.com/kristianmandrup/cream">Cream</a> </td>
<td> Devise, CanCan, roles, many ORMs </td>
</tr>
<tr>
<td> Quick Left </td>
<td> <a href="https://github.com/quickleft/prologue">Prologue</a> </td>
<td> Devise, CanCan, ActiveRecord only, many recipes </td>
</tr>
<tr>
<td> Thomas Symborski </td>
<td> <a href="https://github.com/zsiec/gypsum">Gypsum</a> </td>
<td> Fork of <a href="https://github.com/quickleft/prologue">Prologue</a> </td>
</tr>
<tr>
<td> Andrew Culver </td>
<td> <a href="https://github.com/andrewculver/shinkansen">Shinkansen</a> </td>
<td> Fork of <a href="https://github.com/zsiec/gypsum">Gypsum</a> </td>
</tr>
<tr>
<td> Thoughtbot </td>
<td> <a href="https://github.com/thoughtbot/suspenders">Suspenders</a> </td>
<td> ActiveRecord only, no recipes </td>
</tr>
<tr>
<td> Yi-Ting Cheng </td>
<td> <a href="https://github.com/xdite/bootstrappers">bootstrappers</a> </td>
<td> MySQL only, no recipes </td>
</tr>
<tr>
<td> Cristiano Betta </td>
<td> <a href="https://github.com/cbetta/primo">primo</a> </td>
<td> Haml PostgreSQL RSpec, no recipes </td>
</tr>
<tr>
<td> Carbon Five </td>
<td> <a href="https://github.com/carbonfive/raygun">Raygun</a> </td>
<td> Slim PostgreSQL RSpec, no recipes </td>
</tr>
<tr>
<td> Nico Schuele </td>
<td> <a href="http://www.railsbricks.net/">RailsBricks</a> </td>
<td> Bootstrap, Devise, RSpec, no recipes </td>
</tr>
</table>
<h2>Application Templates</h2>
<p>Use these scripts with the <code>"rails new myapp -m"</code> command to generate an application.</p>
<h3>Rails 4.2</h3>
<table>
<tr>
<th>Author </th>
<th>Project </th>
<th>Comments </th>
</tr>
<tr>
<td> Daniel Kehoe </td>
<td> <a href="http://railsapps.github.io/rails-composer/">Rails Composer</a> </td>
<td> Rails 4.1, Devise or OmniAuth, ActiveRecord or Mongoid. Options for RSpec, Cucumber, Factory Girl, Haml, etc. </td>
</tr>
</table>
<h3>Rails 4.1</h3>
<table>
<tr>
<th>Author </th>
<th>Project </th>
<th>Comments </th>
</tr>
<tr>
<td> Denny Britz </td>
<td> <a href="https://github.com/dennybritz/rails_startup_template">Rails Startup Template</a> </td>
<td> Rails 4, Haml, RSpec, optional Twitter Bootstrap., etc. </td>
</tr>
<tr>
<td> Nick Janetakis </td>
<td> <a href="https://github.com/nickjj/orats">Opinionated Rails Application Templates</a> </td>
<td> Rails 4, Postgres, Redis, Bootstrap, etc. </td>
</tr>
</table>
<h3>Rails 3.2</h3>
<table>
<tr>
<th>Author </th>
<th>Project </th>
<th>Comments </th>
</tr>
<tr>
<td> Brian Cardarella </td>
<td> <a href="https://github.com/dockyard/sail_plan">DockYard’s Sail Plan</a> </td>
<td> Rails 3.2, Haml, Compass, EasyAuth, RSpec, Capybara, FactoryGirl </td>
</tr>
<tr>
<td> lab2023 </td>
<td> <a href="https://github.com/lab2023/rails-template">lab2023 Rails Template</a> </td>
<td> Rails 3.2, Devise, CanCan, RSpec, Capybara, FactoryGirl, etc. </td>
</tr>
</table>
<h3>Older Projects</h3>
<p>For a ranking of some older application templates by popularity, see:<br>
<a href="http://ruby-toolbox.com/categories/rails_app_templates.html">The Ruby Toolbox: Rails App Templates</a></p>
<p>These projects were updated in 2011 and use Devise for authentication:</p>
<ul>
<li><a href="https://github.com/greendog99/greendog-rails-template">greendog99/greendog-rails-template</a></li>
</ul>
<blockquote>
<p>Devise, RSpec, Factory Girl, jQuery, Haml, Sass, Compass, Git, rvm, HTML5 Boilerplate, plus a layout. Uses subtemplates for easy customizing.</p>
</blockquote>
<ul>
<li><a href="https://github.com/dcrec1/rails3_template">dcrec1/rails3_template</a></li>
</ul>
<blockquote>
<p>Devise (with Cucumber steps), Cucumber, RSpec, Factory Girl, Haml, Compass, jQuery, Git, Formtastic, a layout, and much more. Uses subtemplates for easy customizing.</p>
</blockquote>
<ul>
<li><a href="https://github.com/aentos/rails3-templates">aentos/rails3-templates</a></li>
</ul>
<blockquote>
<p>Devise or Authlogic or OmniAuth, Cucumber, Capybara, RSpec, Factory Girl, Shoulda, jQuery, Haml, Compass, 960 grid or Blueprint, Capistrano or Heroku or Inploy, Git, plus a layout. Uses subtemplates for easy customizing.</p>
</blockquote>
<ul>
<li><a href="https://github.com/rubyx/rails3_template">rubyx/rails3_template</a></li>
</ul>
<blockquote>
<p>PostgreSQL, Devise, Cucumber with Selenium and Capybara, RSpec with Machinist and Faker, JQuery, Simple Form, Haml, <span class="caps">SASS</span>, Git, rvm, Google analytics (optional), Hoptoad for issue tracking (optional), TellThemWhen for downtime notifications (optional). With a description of the recipe in the <span class="caps">README</span>.</p>
</blockquote>
<p>These projects were updated in 2010 and use Devise:</p>
<ul>
<li><a href="https://github.com/kenton/rails3-templates">kenton/rails3-templates</a></li>
</ul>
<blockquote>
<p>Devise, RSpec, Cucumber with Capybara, Factory Girl, jQuery, Simple Form, Git, rvm. Uses subtemplates for easy customizing.</p>
</blockquote>
<ul>
<li><a href="https://github.com/graemenelson/rails3-template">graemenelson/rails3-template</a></li>
</ul>
<blockquote>
<p>Devise, Cucumber, Shoulda with Factory Girl and Mocha, Haml, Sass, Formtastic, jQuery, Git, rvm.</p>
</blockquote>
<p>This project was updated in 2010 and uses Mongoid:</p>
<ul>
<li><a href="https://github.com/madebydna/rails-templater">madebydna/rails-templater</a></li>
</ul>
<blockquote>
<p>Mongoid or ActiveRecord, RSpec, FactoryGirl, Cucumber (with Mongoid steps), jQuery, Haml, Sass, Compass. Uses subtemplates for easy customizing.</p>
</blockquote>
<p>These projects were updated in 2011 and do not use Devise or Mongoid:</p>
<ul>
<li><a href="https://github.com/perfectline/template-bucket">perfectline/template-bucket</a></li>
</ul>
<blockquote>
<p>Cucumber, RSpec, jQuery, Haml or Jammit, Capistrano, Git, rvm, plus a layout. Uses subtemplates for easy customizing.</p>
</blockquote>
<ul>
<li><a href="https://github.com/leshill/rails3-app">leshill/rails3-app</a></li>
</ul>
<blockquote>
<p>Cucumber, RSpec, Factory Girl or Fabrication, Haml, jQuery, Git, rvm.</p>
</blockquote>
<ul>
<li><a href="https://github.com/shawn/shawns-rails3-template/">shawn/shawns-rails3-template</a></li>
</ul>
<blockquote>
<p>Haml, Sass, Git, plus a layout.</p>
</blockquote>
<p>These Rails 2.3 projects were once popular but haven’t been updated since 2009 or 2010:</p>
<ul>
<li><a href="https://github.com/jm/rails-templates">jm/rails-templates</a></li>
<li><a href="https://github.com/ffmike/BigOldRailsTemplate">ffmike/BigOldRailsTemplate</a></li>
</ul>
</div>
<div class="comments" id="comments">
<div class="content wikistyle gollum">
<h2>Comments</h2>
</div>
<p>Is this helpful? Your encouragement fuels the project. Please tweet or add a comment. Couldn't get something to work? For the example apps and tutorials, it's best to open an issue on GitHub so we can help you.</p>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'railsapps'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div><!-- class="comments" -->
</div><!-- class="columns" -->
</div><!-- class="row" -->
<footer class="row">
<div class="large-12 columns">
<div class="row">
<div class="medium-4 large-4 columns">
<dl class="footer_nav">
<dt>RailsApps · Getting Started</dt>
<dd><a href="http://railsapps.github.io/ruby-and-rails.html">Ruby on Rails</a></dd>
<dd><a href="http://railsapps.github.io/what-is-ruby-rails.html">What is Ruby on Rails?</a></dd>
<dd><a href="http://learn-rails.com/learn-ruby-on-rails.html">Learn Ruby on Rails</a></dd>
<dd><a href="https://tutorials.railsapps.org/rails-tutorial">Rails Tutorial</a></dd>
<dd><a href="http://learn-rails.com/ruby-on-rails-tutorial-for-beginners">Ruby on Rails Tutorial for Beginners</a></dd>
<dd><a href="http://railsapps.github.io/installing-rails.html">Install Ruby on Rails</a></dd>
<dd><a href="http://railsapps.github.io/installrubyonrails-mac.html">Install Ruby on Rails - Mac OS X</a></dd>
<dd><a href="http://railsapps.github.io/installrubyonrails-ubuntu.html">Install Ruby on Rails - Ubuntu</a></dd>
<dd><a href="http://railsapps.github.io/rubyonrails-nitrous-io.html">Ruby on Rails - Nitrous.io</a></dd>
<dd><a href="http://railsapps.github.io/updating-rails.html">Update Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-composer/">Rails Composer</a></dd>
<dd><a href="http://railsapps.github.io/">Rails Examples</a></dd>
<dd><a href="http://railsapps.github.io/rails-examples-tutorials.html">Rails Starter Apps</a></dd>
</dl>
</div>
<div class="medium-4 large-4 columns">
<dl class="footer_nav">
<dt>RailsApps · Articles</dt>
<dd><a href="http://railsapps.github.io/rails-authorization.html">Rails Authorization</a></dd>
<dd><a href="http://railsapps.github.io/rails-google-analytics.html">Analytics for Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-heroku-tutorial.html">Heroku and Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-javascript-include-external.html">JavaScript and Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-environment-variables.html">Rails Environment Variables</a></dd>
<dd><a href="http://railsapps.github.io/rails-git.html">Git and Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-github.html">Rails GitHub</a></dd>
<dd><a href="http://railsapps.github.io/rails-send-email.html">Send Email with Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-haml.html">Haml and Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-default-application-layout.html">Rails Application Layout</a></dd>
<dd><a href="http://railsapps.github.io/rails-html5-boilerplate.html">HTML5 Boilerplate for Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-3-2-example-gemfile.html">Example Gemfiles for Rails</a></dd>
<dd><a href="http://railsapps.github.io/rails-application-templates.html">Rails Application Templates</a></dd>
<dd><a href="http://railsapps.github.io/rails-product-planning.html">Rails Product Planning</a></dd>
<dd><a href="http://railsapps.github.io/rails-project-management.html">Rails Project Management</a></dd>
</dl>
</div>
<div class="medium-4 large-4 columns">
<dl class="footer_nav">
<dt>RailsApps · Tutorials</dt>
<dd><a href="http://railsapps.github.io/twitter-bootstrap-rails.html">Rails Bootstrap</a></dd>
<dd><a href="http://railsapps.github.io/rails-foundation.html">Rails Foundation</a></dd>
<dd><a href="http://railsapps.github.io/rails-omniauth/">OmniAuth Tutorial</a></dd>
<dd><a href="http://railsapps.github.io/tutorial-rails-devise.html">Rails Devise Tutorial</a></dd>
<dd><a href="http://railsapps.github.io/tutorial-rails-devise-rspec-cucumber.html">Devise RSpec</a></dd>
<dd><a href="http://railsapps.github.io/tutorial-rails-bootstrap-devise-cancan.html">Devise Bootstrap</a></dd>
<dd><a href="http://railsapps.github.io/rails-devise-roles">Role-Based Authorization</a></dd>
<dd><a href="http://railsapps.github.io/rails-devise-pundit">Rails Authorization with Pundit</a></dd>
<dd><a href="https://tutorials.railsapps.org/rails-stripe-membership-saas">Rails Membership Site with Stripe</a></dd>
<dd><a href="https://tutorials.railsapps.org/rails-recurly-subscription-saas">Rails Subscription Site with Recurly</a></dd>
<dd><a href="https://tutorials.railsapps.org/rails-prelaunch-signup">Startup Prelaunch Signup Application</a></dd>
</dl>
<dl class="footer_nav">
<dt>RailsApps Profile</dt>
<dd><a href="https://plus.google.com/108039160165742774777?rel=author">Google</a></dd>
<dd><a href="https://plus.google.com/117374718581973393536" rel="publisher">Find us on Google+</a></dd>
</dl>
</div>
</div>
</div>
</footer>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.2.2/js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>