Change to the postgres user on the os Create a PostgreSQL super user role that has the name of your OS user and set no password: Go back to your original user.
sudo su postgres
createuser -s <<YOUR_USERNAME>>
exitThe asset precompilation is done in a separate process so regular rails s wil not build the assets.
Run the dev script to run rails server and the asset compiler in one process
bin/devcp .env.example .envSet the client id and secret from the AuthSch developer console.