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>>
exit
The 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/dev
cp .env.example .env
Set the client id and secret from the AuthSch developer console.