Skip to content

Create a wrapper / generator gem 'locomotive' like the 'rails' gem #291

@mkempe

Description

@mkempe

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
  4. run 'bundle exec rails g mongoid:config'
  5. run 'bundle exec rails g locomotive:install'
  6. 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 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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions