Before deploying, we should install:
Ruby 2.6.0
Nginx
Lets Encrypted
Mysql
You must use Bundler 2 or greater with this lockfile:
gem update --system
gem install bundler
bundle update --bundler
Copy secret.example.yml
as secret.yml
. If you use rails console
, fill out the ENV to /etc/profile
on the server.
bundle exec cap production puma:nginx_config
bundle exec cap production deploy
- Error Collection: rollbar
- Docker Deamon API
- Stripe API
Default use SimpleCov::Formatter::Codecov
, will send the report to Codecov.
rspec
Print the report on console.
SIMPLECOV_FORMATTER="SimpleCov::Formatter::Console" rspec
Coverage report generated for RSpec to ./coverage
.
SIMPLECOV_FORMATTER="SimpleCov::Formatter::HTMLFormatter" rspec