- run bundle install
$ bundle install
- create postgreSQL user
$ createuser rails7_sample --superuser
- create database
$ RAILS_ENV=development bundle exec rails db:create
$ bundle exec ridgepole -c config/database.yml -E development --apply -f db/schemas/Schemafile
- build frontend
$ yarn install
$ yarn build
- Let's access to top page
run below command and go to http://localhost:3000
$ bundle exec rails server