- Install
- PostgreSQL database
- Redis key-value server
- ruby using rbenv
- ruby on rails using
gem install rails
- Create app using template
rails new APP_NAME -T -d postgresql -m https://raw.githubusercontent.com/alec-c4/ks-rails-basic/master/template.rb
- Create all required accounts:
-
Configure Appsignal with
bundle exec appsignal install APPSIGNAL_KEY
-
Setup hypershield gem for PostgreSQL
-
Configure application secrets with following template
active_record_encryption:
primary_key: ''
deterministic_key: ''
key_derivation_salt: ''
secret_key_base: ''
postmark:
api_key: ''
You can generate active record encryption keys with following command
bin/rails db:encryption:init
- Configure application in
config/settings.yml
- ruby on rails application template
- .gitignore file
- VSCode configuration files
- postgresql database connector
- online_migrations
- pre-configured generators
- I18n tools - rails-i18n and i18n-tasks
- rspec for testing
- better_html and erb-lint for erb linting
- standard.rb for code style validations
- bullet to prevent N+1 problems
- brakeman and bundler-audit as security scanners
- pry-rails and amazing_print for better rails console
- view_component as a replacement for partials
- annotate for annotations
- lefthook with pre-commit run of rspec, brakeman, standardjs, standardrb and erblint
- semantic_logger as a highly configurable logging system
- simplecov for test coverage research
- hypershield
- add documentation (howto's, best practices, curated list of libraries)