Run Locally:
- Install Ruby
- Install Bundler
gem install bundler
- Install application dependencies
bundle install
- Run the server locally:
ruby app.rb -p 8080
Run Locally with Buildpacks & Docker:
pack build --builder=gcr.io/buildpacks/builder sample-ruby
docker run -it -ePORT=8080 -p8080:8080 sample-ruby
Run on Cloud Run: