/template-ruby-on-rails-postgres

A Ruby on Rails template, with Postgres, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.

Primary LanguageRubyMIT LicenseMIT

A Ruby on Rails with Postgres template on Gitpod

This is a Ruby on Rails with Postgres template configured for ephemeral development environments on Gitpod.

Next Steps

Click the button below to start a new development environment:

Open in Gitpod

Get Started With Your Own Project

A new project

Click the above "Open in Gitpod" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it.

An existing project

To get started with Ruby on Rails with Postgres on Gitpod, add a .gitpod.yml file which contains the configuration to improve the developer experience on Gitpod. To learn more, please see the Getting Started documentation.

Notes & caveats

  • The template was generated using rails new . -d postgres
  • ./gitpod.yml launches the rails server bound to 0.0.0.0 so that the server is accessible in Gitpod. The default configuration binds to localhost.
  • config/environments/development.rb has been configured with config.hosts.clear to enable requests to the Gitpod subdomain. In this template the Ruby on Rails configuration interface has been set to private. If this setting is changed to public then anyone will be able to connect to the administration interface if they know the workspace name.