Ask a dev for the 3 keys necessary to decrypt the secrets :
config/master.key
config/credentials/development.key
config/credentials/test.key
Get the credentials for the db like this (we'll call them theuser
and thepassword
)
rails credentials:show
Then enter the psql command line
sudo su - postgres
psql
Create the superuser with the credentials you got before
> CREATE ROLE theuser WITH SUPERUSER CREATEDB LOGIN PASSWORD 'thepassword';
Then exit the psql command line, and run
rails db:setup
bundle install
raisl assets:precompile
rails s
Then you can visit localhost:3000
rspec