Ruby 3.1 and Rails 7.0
ROLLBAR_ACCESS_TOKEN
GOOGLE_ANALYTICS_KEY
GOOGLE_ANALYTICS_SITE
ADMIN_EMAIL
SPARKPOST_API_KEY
SKYLIGHT_AUTHENTICATION
The stock .env
file includes the basics. You should create both an .env.development
and an .env.test
file, that include real values.
cp .env .env.development
vim .env.development
RSpec files exist in spec/
.
bundle exec rspec
First, boot the server.
bundle exec rails s
Then head to http://localhost:3000/rails/mailers.
You can skip the simplecov
code coverage by using the SKIP_COVERAGE
environment variable.
SKIP_COVERAGE=true bundle exec rake spec
Currently, Heroku deployment is automatic upon a main
branch commit passing CI.
These have been automated on deploy, using the release
section of the Procfile
.