- Install Docker:
brew install docker # or brew install homebrew/cask/docker
- Start PG in a container:
brew install docker # or brew install homebrew/cask/docker
# config/initializers/carrier_wave.rb
CarrierWave.configure do |config|
storage =
case Rails.env
when 'staging', 'production'
:fog
else
:file
end
This document is under construction.
First setup Rails 6 and Daemonite's Material UI as descrided in this gist.
# config/initializers/simple_form_daemonite.rb
Daemonite's Material UI is a cross-platform and fully responsive front-end interface based on Google Material Design developed using Bootstrap 4. This gist describes how to integrate this into a Rails 6 application.
First setup Bootstrap 4 as descrided in this gist.
$ yarn add daemonite-material
This blogpost shows how to setup Rails 6 with Bootstrap 4.
This snippet shows a somehow different and less customized approach.
$ rails new rails6-bootstrap4
$ bundle --binstubs
$ yarn add bootstrap jquery popper.js expose-loader
See also https://material.io/
$ rails new my-app --webpack
$ bundle --binstubs
$ rails new my-i8n --webpack
Gemfile
gem 'i18n-js'
<!-- Sample Content to Plugin to Template --> | |
<h1 id='wrapper'>CSS Basic Elements</h1> | |
<p>The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.</p> | |
<hr /> | |
<h1 id="headings">Headings</h1> | |
<h1>Heading 1</h1> |