Flatiron Lab Generator

A gem for generating labs in the format/style we use for making labs at the Flatiron School.

Dependencies

Assumes installation of git.

Installation

gem install learn-co

Usage

learn new <lab-name> -t|--template <template-name>

Lab Templates

The current list of templates is:

  • activerecord
  • command-line
  • front-end
  • fundamental-ruby
  • ios
  • js
  • kids
  • python
  • rack
  • rake
  • readme
  • sinatra-classic
  • sinatra-mvc
  • sql

Other Options

  1. --list: see the most up-to-date list of available templates

Contributing

  1. Fork it ( https://github.com/flatiron-labs/learn-generate/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributing new templates

  1. Fork the templates repository ( https://github.com/learn-co-curriculum/learn-generate-templates/fork )
  2. Create your new template branch (git checkout -b my-new-template)
  3. Commit your changes (git commit -am 'Add a new teamplate')
  4. Push to the branch (git push origin my-new-template)
  5. Create a new Pull Request
  6. Your template will be reviewed, and any relevant changes to the gem will be made before merging