https://github.com/launchpadlab/rspec_examples
https://github.com/launchpadlab/rspec_examples
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/launchpadlab/rspec_examples
- Owner: LaunchPadLab
- Created: 2019-12-03T15:30:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-04T19:48:00.000Z (almost 6 years ago)
- Last Synced: 2025-04-09T19:55:15.594Z (10 months ago)
- Language: Ruby
- Size: 40 KB
- Stars: 0
- Watchers: 17
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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`)