Skip to content

Latest commit

 

History

History
 
 

sample-ruby

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sample Ruby

Run Locally:

  1. Install Ruby
  2. Install Bundler
    gem install bundler
    
  3. Install application dependencies
    bundle install
    
  4. 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:

Run on Google Cloud