Install all Rails dependencies. Inside the project root run:
bundle install
Create a new file named .env.development.local
cp .env .env.development.local
cp .env .env.test.local
RAILS_ENV=YOUR ENV (development, staging or test)
rails db:{drop,create,migrate}
rails seed:migrate
Run local server (with -b to allow external access, see at: http://localhost:3000)
rails s -b 0.0.0.0
rspec