Ruby On Rails - Application Setup Guide
This setup will cover a pure, monolithic Rails Applications.
This is the most frequent type of application we have at Renuo and is probably also the easiest to setup.
The application (and relative GitHub repo) will be named after the [project-name]
you chose before.
Have you chosen a [project-name]
yet? If not, please do so now. Check our Naming Conventions
- Initialise the Rails Application
- Push to Git Repository
- Initialise Gitflow
- Configure Git Repository
- Create an Application Server
- Configure the CI / CD
Once here, your app should be up and running on all three environments.
It's now time to introduce some more tools which will help you and the team to keep a high quality during the project development.
🎉 Finally you are ready to start working on you new project! 🎉
While everyone starts working there are some more things which you should setup. Most are not optional, but the rest of the team can start working even if those are not in place yet.
- AppSignal
- Sentry (optional)
- NewRelic (optional)
- robots.txt
- Percy (optional)
- Protect develop environment
Some services should be configured accordingly to the packages bought by the customer. Once the new application is created, please add the project to the monitoring list and discuss with the PO how the service should be configured.
- Uptimerobot
- Depending on the monitoring list, also Sentry notifications need to be configured.
- Depfu security monitoring
- Depending on the monitoring list, also Papertrail alerts need to be configured.
Here you will find a series of chapters and guides on how to setup some of the gems we use most often and some other useful services:
- Run Javascript tests with Jest
- Pull Requests Template
- Slack and Project Notifications
- Send emails
- Sparkpost & Mailtrap
- Devise
- Sidekiq
- Cucumber
- Amazon S3 and Cloudfront
- Carrierwave Upload
- awesome_print
gem 'awesome_print'
- bootstrap
- font-awesome
- bullet
gem 'bullet'
- lograge
gem 'lograge'
- Rack Tracker (Google Analytics)
gem 'rack-tracker'
--> see Google Analytics - Typescript
- Favicons
- Rack CORS
- Rack Attack
- 🔥 Hotjar
- SEO
- redirect non-www to www
- Header tags
- wicked pdf
gem wicked_pdf
- Recaptcha v3
- Wallee Payment Integration