- Install npm packages ->
yarn install
- Run Bundler ->
bundle install
- Run the migration ->
rake db:migrate
- Run the seeding ->
rake db:seed
- In console, run
rails s
- In another pane/window, run ->
bin/webpack-dev-server
- In another window, run
RAILS_ENV=production bundle exec rake assets:precompile
To run storybook -> yarn storybook
You can publish a static storybook to Chromatic's CDN by using this command -> yarn chromatic
The new storybook can be reviewed by other collaborators on the project.
ActionMailer
email previews are to be placed in spec/mailers/previews
.
Refer to the guides for everything else.