Jason,
This is cool, but have you checked out "Hobo"? I can have a basic app,
complete with user authentication, invitation emails, etc. in less than
5 minutes from the time I type "hobo new my_app" till I type "rails
server". If you need customization of the basic app's appearance or
database (default is sqlite3) it may take another 2 minutes. They have
also improved on the rails model and have totally automated migration.
Give it a try.
Don Ziesig
On 10/07/2014 11:50 PM, Jason Hsu, Rubyist wrote:
People have complained that it takes far longer to create a basic app
in Rails than in Drupal, PHP, and other technologies. I've decided to
do something about it by streamlining the process of starting a basic
app.
Check out my new Ruby gem copy_rails_tutorial. It copies Michael
Hartl's Rails Tutorial Sample App for use in your projects and
provides a great productivity advantage over starting a new app
completely from scratch. The inputs are a base name (to replace
"sample_app_rails_4") and app name (to replace "SampleApp").
CopyRailsTutorial has several commands that you can execute from the
normal Unix/Linux shell - copy_rails_tutorial_all,
copy_rails_tutorial_static, and copy_rails_tutorial_users. RSpec,
Cucumber, Guard, Spork, and Twitter Bootstrap formatting are all
included out of the box.
The "all" mode copies everything from the Rails Tutorial sample app -
static pages, users, microposts, and relationships. After you run the
setup.sh script added by this gem, all tests will pass. (Please note
that for all other modes, you must follow the instructions in the
notes/to_do.txt file to get all tests to pass.)
The "static mode" includes the static pages but not the users, micro
posts, or relationships. The "users" mode includes static pages and
user functionality but not micro posts or relationships.
Now you no longer need to plow through chapters 3 through 9 in Rails
tutorial to start an app with static pages and users. If you use a
Vagrant Box with pre-installed Ruby on Rails (with Linux, OS X, or
Windows as a host OS), you can start off with a computer lacking Ruby
on Rails and have a basic Rails app up and running in minutes instead
of hours. This will be handy for Startup Weekend, 24-hour web site
challenges, and other situations that don't tolerate a leisurely pace.
--
You received this message because you are subscribed to the Google
Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/6dad4396-79f0-4668-a646-bcb75b792e03%40googlegroups.com
<https://groups.google.com/d/msgid/rubyonrails-talk/6dad4396-79f0-4668-a646-bcb75b792e03%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/5434EAC5.7020201%40ziesig.org.
For more options, visit https://groups.google.com/d/optout.