Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.
/ demo Public archive

Rails application with ViewComponent

License

Notifications You must be signed in to change notification settings

ViewComponent/demo

Folders and files

NameName
Last commit message
Last commit date
Aug 3, 2022
Aug 5, 2022
Aug 16, 2019
Aug 5, 2022
Aug 16, 2019
Aug 16, 2019
Aug 5, 2022
Aug 16, 2019
Jul 27, 2022
Jul 27, 2022
Aug 5, 2022
Apr 12, 2023
Aug 16, 2019
Feb 2, 2021
Aug 16, 2019
Aug 16, 2019
Jul 27, 2022
Aug 16, 2019

Repository files navigation

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.