https://github.com/driftingruby/template
Base template for "all" Drifting Ruby episodes
https://github.com/driftingruby/template
Last synced: 4 months ago
JSON representation
Base template for "all" Drifting Ruby episodes
- Host: GitHub
- URL: https://github.com/driftingruby/template
- Owner: driftingruby
- Created: 2021-12-07T01:57:06.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-01T20:37:24.000Z (over 2 years ago)
- Last Synced: 2025-02-15T08:31:23.120Z (12 months ago)
- Language: HTML
- Homepage: https://www.driftingruby.com
- Size: 15.6 KB
- Stars: 18
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template
This is the template that is used for creating new projects for
Drifting Ruby episodes.
# Usage
Download the template to a directory. Personally, I keep mine under
`~/driftingruby`.
You can then create a new Rails application with this template.
rails new example -m ~//template.rb
*NOTE:* When I'm creating a new application, I omit the `-m` flag since
I have a `~/.railsrc` file which contains the flag.
# ~/.railsrc
--skip-jbuilder
-a propshaft
--javascript esbuild
--css bootstrap
-m ~/driftingruby/template.rb
*Additional NOTE:* I'm also creating these projects with the
latest version of Rails. At the time of writing this is `Rails 7.0.0.rc1`.