A full-featured forum application built with Ruby on Rails.
- 🚧
Here's how you can set up forum in your local dev environment:
Requirements
- Ruby >= 3.3.1
Ruby is managed using Ruby Version Manager
# Update ruby version
rvm use <version>
Installation
Install the required gems by running the following command:
bundle install
To migrate the database, run the following command:
rails db:migrate
rails db:create db:migrate db:seed
Development
rails db:drop db:create db:schema:load db:migrate db:seed
To run the specs, a single spec, or a single test:
rails rspec
rspec spec/controllers/user_controller_spec.rb
rspec spec/controllers/user_controller_spec.rb:32
To start the server, run the following command:
rails server
rails s
To run the rails console, run the following command:
rails console
rails c
Rake Commands
Find missing specs:
rake spec_check:<views | models | controllers | all>
Makefile Commands
To make life easier, there is a Makefile with some common commands:
To run i18n-tasks normalize and health
make i18n
To format and lint the code
make pretty
This software is currently a work in progress and is considered in ALPHA state. Features will appear and disappear, APIs will be changed, bugs will be introduced, your feedback is always welcome! 🚧🔧