Fork this repository and clone it locally. Follow this guide if you need help.
You will need to setup postgresql and redis. You can use homebrew for installing on a mac:
brew install postgresql
brew install redis
brew services start postgresql
brew services start redis
Run the following commands to setup your environment:
bin/rails db:create
for creating the database locallybin/rails db:migrate
for running all migrations
The following commands are used for development:
bin/dev
will start your Rails server and all associated processes using the Procfilebin/rails c
will start your Rails console
The test suite is written using Minitest.
# Run the entire test suite
bin/rails test
# Run all model tests
bin/rails test test/models
# Run a specific test file
bin/rails test test/models/event_test.rb
# Run the example at a specific line number in the given test file
bin/rails test test/models/event_test.rb:4
- Ruby 3.0.1.
- Rails 7.0.
I have not added any additional gems. The goal is to keep it as vanilla Rails as possible.
See the Gemfile for all dependencies and their respective versions.