https://github.com/gitpod-samples/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.
https://github.com/gitpod-samples/template-ruby-on-rails-postgres
gitpod postgres rails ruby ruby-on-rails template
Last synced: 9 months ago
JSON representation
A Ruby on Rails template, with Postgres, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.
- Host: GitHub
- URL: https://github.com/gitpod-samples/template-ruby-on-rails-postgres
- Owner: gitpod-samples
- License: mit
- Created: 2021-06-10T03:26:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T20:18:10.000Z (over 1 year ago)
- Last Synced: 2025-03-24T12:56:21.333Z (9 months ago)
- Topics: gitpod, postgres, rails, ruby, ruby-on-rails, template
- Language: Ruby
- Homepage: https://www.gitpod.io
- Size: 43 KB
- Stars: 14
- Watchers: 6
- Forks: 37
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# A Ruby on Rails with Postgres template on Gitpod
This is a [Ruby on Rails with Postgres](https://rubyonrails.org) template configured for ephemeral cloud development environments on [Gitpod](https://www.gitpod.io/).
## Next Steps
Click the button below to start a new development environment:
[](https://gitpod.io/#https://github.com/gitpod-io/template-ruby-on-rails-postgres)
## 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`](./.gitpod.yml) file which contains the configuration to improve the developer experience on Gitpod. To learn more, please see the [Getting Started](https://www.gitpod.io/docs/getting-started) documentation.
## Notes & caveats
* The template was generated using `rails new . -d postgres`
* [./gitpod.yml](./.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](./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 the public then anyone will be able to connect to the administration interface if they know the workspace name.