An open API service indexing awesome lists of open source software.

https://github.com/launchpadlab/rspec_examples


https://github.com/launchpadlab/rspec_examples

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

## Getting Started
### Initial Project Setup
If you created this project, instructions for setting up GitHub, Heroku, and other integrations can be found in the **[Project Setup Checklist](PROJECT_SETUP_CHECKLIST.md)**.

### Running in Development

- `git clone git@github.com:LaunchPadLab/.git`
- `cd `
- `bundle install`
- `load_secrets`
- `bundle exec rake db:create db:migrate db:seed`
- `rails server`
- `open localhost:3000`

### Development Workflow

#### Committing
Pull requests to the `dev` branch will trigger review apps in Heroku.
The `staging` branch will auto-deploy to the *staging* environment on Heroku.
The `master` branch can then be deployed to *production* after successful QA.

#### Testing
All Ruby/Rails unit tests must pass for a PR to be merged. They can be run locally with:

- Ruby/Rails unit tests: `bundle exec rspec`

#### Linting
The project is set up to lint ruby, so its advised that you have this integrated in your editor.
Currently, linting errors will not block a PR merge, but this may change in the future.

You can run these manually with:
- Ruby: `rubocop` (if installed globally with `gem install rubocop`)