We use Docker and docker-compose for development to keep the environment consistent and easy to set up.
It's also recommended to add an alias to .bashrc or .zshrc to simplify running most commands. Commands in this README will use the suggested alias.
alias dcrun='docker-compose run --rm web'All variables are already encrypted in the repository under config/credentials/. You'll need to ask for the development key and add under config/credentials/development.key. This should be automatically ignored from version control.
docker-compose build
dcrun rake db:primedocker-compose upRun tests
dcrun rspecRun rubocop
dcrun rubocopEdit credentials
dcrun rails credentials:edit --environment=developmentBetter logs
docker-compose up -d # Sart services in daemon mode
docker-compose logs -f web # View logs for a specific service (e.g. web, db, redis)
docker-compose stop # Stop the dameon servicesThis project and repository is no longer maitained
Ripplr is released under the MIT License.