Checkout branches to view particular steps of this sample application.
1-hello-world2-cloud-datastore2-cloud-sql2-postgresql3-cloud-storage4-auth5-logging6-task-queueing7-compute-engine
Ruby on Rails web application on Google Managed VMs.
To run the application, first install dependencies:
$ bundle install
And then run the Rails web server:
$ rails server
$ bundle install
$ bundle exec rspec
Install the Google Cloud SDK:
$ curl https://sdk.cloud.google.com | bash
And then deploy the application:
$ gcloud app deploy
The application Dockerfile uses the google/ruby-runtime Docker image
which supports running any Ruby web application.
The ruby-runtime image requires that your application directory contain the following:
Gemfilefile declaring application dependenciesconfig.rurackup file defining your web application
- See CONTRIBUTING.md
- See LICENSE