-
Fork this Repo.
-
Install Ruby using RVM or rbenv. Check ruby version in gemfile.
-
Use command to install dependencies
bundle install
- Install postgres and also create user using
create role myapp with createdb login password 'password1';
- Create Database using
rake db:setup
- Database initialization using
rails db:migrate
- Run the app using
rails server
- Navigate to http://localhost:3000
-
Dockerize the app
-
Write a script to deploy to GCP. Will let you decide on what GCP service you want deploy to but it need to autoscale and make sure you handle secrets properly.
-
Set up a CD to deploy to GCP.
- Move the entire infra into terraform.