Codeland::Starter
Create Ruby on Rails projects based on Codeland's template with integrations.
Installation
$ gem install codeland-starter
Usage
Setup
$ codeland-starter install # Will create ~/codeland-starter.yml
$ vi ~/codeland-starter.yml
The integrations
section in YAML is an array of the services. Eg:
integrations:
- heroku
- another-service
Create projects
$ codeland-starter create ProjectName
What do you (can) get?
- PostgreSQL
- Ruby version in Gemfile
- Slim
- Skip Rails generators (javascripts, stylesheets, helpers)
- Brazilian time and locale
- Front-end setup
- Heroku setup
- Gems:
- RSpec
- Factory girl
- Simplecov
- Database cleaner
- Shoulda matchers
- Cabybara
- Selenium
- Initjs
- Rails-i18n
- Devise
- ActiveAdmin
- Simpleform
- Pundit
- Autoprefixer-rails
- Bootstrap
- Font-awesome
- NProgress
- Draper
- Rails 12factor
- Thin (development)
- Rack Profiler (development)
- Passenger (production)
Integrations
Heroku
```sh` $ heroku plugins:install git@github.com:heroku/heroku-oauth.git $ heroku authorizations:create -d "some text"
Paste the `Token` in `codeland-starter.yml`
```yaml
heroku:
oauth_token: PASTE-YOUR-TOKEN-HERE
Collaborators
Has a team? List them as an array in codeland-starter.yml
heroku:
users:
- contato@codeland.com.br
- another@email.com
- email@example.com
Contributing
- Fork it ( https://github.com/codelandev/codeland-starter/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