A place to learn and celebrate the joy of using Ruby on Rails
Building a Rails application to help people learn more about building Rails applications.
- One Person Framework: Rails provides all one person needs to build a robust frontend experience with Hotwire.
- Minimal moving pieces: Prefer SQLite as a database. Single server hosting.
- Vanilla Rails: Rely on Rails conventions. Avoid needless abstractions. Introduce gems judiciously (or for educational value).
-
Ruby, see
.ruby-version
Use a Ruby version manager to install and manage Ruby versions, such as
To use YJIT, Rust must first be installed and be found on
PATH
:- See https://www.rust-lang.org/tools/install for instructions on installing Rust
- Then install the correct version of Ruby using preferred version manager:
-
Node, see
.node-version
,brew install node
or use NVM -
A process manager for Procfile-based applications, either
Run the installation script to get the application set up. It is intended to be idempotent and can be run multiple times:
bin/setup
Run the following to start the server and automatically build assets.
bin/dev
Run RSpec tests
bin/rspec
Run Jest tests
npm run test
Run the following to run all tests
bin/verify
Copyright 2024 Ross Kaffenberger under the BSD 3 Clause License.