A minimalistic RAILS starter app, ready for deployment on Google App Engine.
- No database support, use REST APIs instead
- No login or user management, supports OAuth on Google, GitHub and Discord
- Create an
OAuth Consent Screen
- Create an
OAuth 2.0 Client ID
- Create a new
OAuth App
TBD
Note: The Client IDs and Client Secrets are needed for the next step!
Make a copy of app.yaml.example
and rename it to app.yaml
. Review and edit the file.
To deploy the app:
make deploy
make build_web
export PROJECT_ID=
export GITHUB_KEY=
export GITHUB_SECRET=
export GOOGLE_APPLICATION_CREDENTIALS=
export GOOGLE_CLIENT_ID=
export GOOGLE_CLIENT_SECRET=
bundle exec rails s
bundler exec rubocop -a
Create credentials.yml.enc
bundler rails credentials:edit
Edit credentials.yml.enc
EDITOR="nano" rails credentials:edit
rails new . --minimal --skip-active-record
- Ruby runtimes on Google App Engine
- sclorg/rails-ex deployment on Red Hat OpenShift