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
Visit http://gems.flatironschool.com/
Usage
flatiron-lab-generator <lab-type> <lab-name>
With git
Execute as flatiron-lab-generator <lab-type> <lab-name> -g
if you want your template to be created with an initialized git repository.
Lab Types
Lab types have been outlined in the Curriculum Style Guide
These are the Lab Types:
- fundamental-ruby
- command-line
- SQL
- activerecord
- rake
- rack
- sinatra-classic
- sinatra-mvc
- js
- front-end
- kids
We have the flatiron-rails gem for generating Rails labs.
Lab Name
The lab-name refers to the name of the lab (example: Sinatra-ORM-Halloween).
Reposit
Logan made an awesome gem that creates a remote git repository from the command line. It's called Reposit. After installing that and following the setup steps, run reposit <lab name> -o learn-co-curriculum
.
Contributing
- Clone
- Checkout a new feature branch
- Be sure to run the tests
- Open PR