Checkout branches to view particular steps of this sample application.
1-hello-world2-sql2-datastore3-binary-data4-authentication5-logging6-task-queue7-compute-engine
To run the application, first install dependencies:
$ bundle install
To setup the database for local development, copy the sample database.yml file:
$ cp config/database.example.yml config/database.yml
By default, sqlite is used. You can edit the database.yml to customize your database.
To create the database and run migrations to create the required tables, run:
$ rake db:migrate
Then, run the Rails web server:
$ rails server
$ bundle install
$ rake db:test:prepare
$ bundle exec rspec spec/
$ gcloud app deploy
- See CONTRIBUTING.md
- See LICENSE