https://github.com/quintsys/rails-templates
This is a collection of templates for Rails projects.
https://github.com/quintsys/rails-templates
Last synced: about 1 month ago
JSON representation
This is a collection of templates for Rails projects.
- Host: GitHub
- URL: https://github.com/quintsys/rails-templates
- Owner: quintsys
- License: mit
- Created: 2025-01-02T02:55:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-02T04:10:14.000Z (over 1 year ago)
- Last Synced: 2025-01-02T04:29:46.915Z (over 1 year ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QuintSys Rails Templates
This is a collection of templates for Rails projects.
## Usage
```bash
rails new PROJECT_NAME --css=bootstrap --template https://raw.githubusercontent.com/quintsys/rails-templates/refs/heads/master/default.rb
```
## Templates
### `default.rb`
The default template for Rails projects.
It includes:
- `htmlbeautifier` for HTML formatting
- `rails_best_practices` for code quality
- `solargraph` and `solargraph-rails` for Ruby language server
- Authentication with `authentication-zero`
- `meta-tags` for SEO
It runs the generator and database migrations needed for authentication zero,
and runs rubocop in autocorrect mode after the project is created.
Finally, it creates a commit with the initial project structure.