/demo

Rails application with ViewComponent

Primary LanguageRubyMIT LicenseMIT

view-component-demo

Rails application with ViewComponent, using the https://github.com/github/view_component gem.

Ruby version

Use your favorite Ruby version manager to install 3.0.0.

Local development

Install Postgres as desired.

Configuration

bundle install npm install

Database creation

rails db:setup

How to run the test suite

bundle exec rake

Server

rails s

Benchmark

Run server in production mode: RAILS_ENV=production rails s.

Load /benchmark and read server log.