locomotivecms/engine — Issue #291: Create a wrapper / generator gem 'locomotive' like the 'rails' gem
Author: mkempe
Created: 2012-01-28 17:07:39+00:00
State: open

We could create a 'locomotive' gem like the 'rails' gem which has one dependency to the locomotive engine + some commands like creating a new locomotive site.

Samples:

```
$ locomotive new foo
```
1. Runs the rails generator to create an new rails app 'foo'
2. Updates the Gemfile
3. Run bundle command to install / update dependencies
3. run 'bundle exec rails g mongoid:config'
4. run 'bundle exec rails g locomotive:install'
5. run 'bundle exec rake assets:precompile'

```
$ locomotive new foo --sample
```
Same as 'locomotive new foo' + import sample site

Problems:

There already exists a gem with the name locomotive. But perhaps we could ask the author to give up the namespace, because the only [version](http://rubygems.org/gems/locomotive) on rubygems.org is 0.0.1 from June 29, 2010.

Nice to have:

Maybe we should rename 'locomotive_cms' to 'locomotive_engine' to clear things up.

What do you think ?