A gem for generating labs in the format/style we use for making labs at the Flatiron School.
Assumes installation of git.
gem install learn-co
learn new <lab-name> -t|--template <template-name>
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
--list
: see the most up-to-date list of available templates
- Fork it ( https://github.com/flatiron-labs/learn-generate/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- Fork the templates repository ( https://github.com/learn-co-curriculum/learn-generate-templates/fork )
- Create your new template branch (git checkout -b my-new-template)
- Commit your changes (git commit -am 'Add a new teamplate')
- Push to the branch (git push origin my-new-template)
- Create a new Pull Request
- Your template will be reviewed, and any relevant changes to the gem will be made before merging