Skip to content

Latest commit

 

History

History
 
 

sample-functions-framework-ruby

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Sample Functions Framework Ruby

Run Locally:

  1. Install Ruby
  2. Install Bundler
    gem install bundler
    
  3. Install application dependencies
    bundle install
    
  4. Run the server locally:
    bundle exec functions-framework-ruby --source=app.rb --target=hello
    

Run Locally with Buildpacks & Docker:

pack build --builder=gcr.io/buildpacks/builder sample-functions-framework-ruby
docker run -it -ePORT=8080 -p8080:8080 sample-functions-framework-ruby

Run on Cloud Run:

Run on Google Cloud