alec-c4 / ks-rails-basic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kickstart rails app template (basic/plain version)

Usage

  1. Install
  • PostgreSQL database
  • Redis key-value server
  • ruby using rbenv
  • ruby on rails using gem install rails
  1. Create app using template
rails new APP_NAME -T -d postgresql -m https://raw.githubusercontent.com/alec-c4/ks-rails-basic/master/template.rb
  1. Create all required accounts:
  1. Configure Appsignal with bundle exec appsignal install APPSIGNAL_KEY

  2. Setup hypershield gem for PostgreSQL

  3. 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
  1. Configure application in config/settings.yml

What's inside

TODO

  • add documentation (howto's, best practices, curated list of libraries)

About

License:MIT License


Languages

Language:Ruby 93.5%Language:Makefile 6.5%