|
1 |
| -# Ruby on Rails with Postgres [](https://gitpod.io/#https://gitpod.io/from-referrer/) |
| 1 | +# A Ruby on Rails with Postgres template on Gitpod |
2 | 2 |
|
3 |
| -# About this template |
| 3 | +This is a [Ruby on Rails with Postgres](https://rubyonrails.org) template configured for ephemeral development environments on [Gitpod](https://www.gitpod.io/). |
4 | 4 |
|
5 |
| -Here is a template that fully-automates the dev setup of Ruby on Rails with Postgres on Gitpod, providing anyone with a pre-built, browser-based development environment in one click: |
| 5 | +## Next Steps |
6 | 6 |
|
7 |
| -[](https://gitpod.io/#https://gitpod.io/#https://gitpod.io/from-referrer/) |
| 7 | +Click the button below to start a new development environment: |
8 | 8 |
|
9 |
| - |
| 9 | +[](https://gitpod.io/#https://github.com/gitpod-io/template-ruby-on-rails-postgres) |
10 | 10 |
|
11 |
| -## What it does |
| 11 | +## Get Started With Your Own Project |
12 | 12 |
|
13 |
| -* Comes with all Ruby on Rails dependencies pre-installed (including Node.js) |
14 |
| -* Runs `bundle install && rake db:create` ahead-of-time (so you don't need to wait). |
15 |
| -* Gives anyone immediate access to the a pre-initalised development environment that enables a fast and productive inner development loop. |
| 13 | +### A new project |
16 | 14 |
|
| 15 | +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. |
| 16 | + |
| 17 | +### An existing project |
| 18 | + |
| 19 | +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. |
17 | 20 |
|
18 | 21 | ## Notes & caveats
|
19 | 22 |
|
20 | 23 | * The template was generated using `rails new . -d postgres`
|
21 | 24 | * [./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`.
|
22 | 25 | * [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 public then anyone will be able to connect to the administration interface if they know the workspace name.
|
23 |
| - |
24 |
| - |
25 |
| -# What is Gitpod? |
26 |
| - |
27 |
| - |
28 |
| - |
29 |
| -[Gitpod](https://www.gitpod.io/?utm_source=github&utm_medium=referral&utm_campaign=template-ruby-on-rails-postgres) is an open source developer platform automating the provisioning of ready-to-code development environments. |
30 |
| - |
31 |
| -Designed for applications running in the cloud, Gitpod frees engineering teams from the friction of manually setting-up local dev environments, saving dozens of hours and enabling a new level of collaboration to create applications much more quickly than ever before. |
32 |
| - |
33 |
| -Natively integrated with GitLab, GitHub, and Bitbucket, Gitpod automatically and continuously prebuilds dev environments for all your branches. As a result team members can instantly start coding with fresh dev environments for each new task - no matter if you are building a new feature, want to fix a bug, or work on a code review. |
34 |
| - |
35 |
| -See also: |
36 |
| - |
37 |
| -- [Gitpod's Direction](https://www.notion.so/Gitpod-s-Direction-be35d064c0704fbda61c542b84e07ef6) |
38 |
| -- [Gitpod's Roadmap](https://www.notion.so/gitpod/Collaborations-with-Gitpod-541ed215197145f1a02f0cd93f8d9f64#30faa38309df4dd0b50535406ed11a70) |
39 |
| -- [Gitpod's Values & Differentiators](https://www.notion.so/Values-Differentiators-2ed4c2f93c84499b98e3b5389980992e) |
40 |
| - |
41 |
| -## Why Gitpod? |
42 |
| - |
43 |
| -Developers are automating the world, yet they waste a lot of precious energy manually setting up and maintaining development environments. Millions of developers are slowed down on a daily basis with tedious tasks to get into a productive state while also facing annoying "works-on-my-machine" problems. |
44 |
| - |
45 |
| -**Think CI/CD for dev environments** |
46 |
| - |
47 |
| -Gitpod invented prebuilds so application code, configuration and infrastructure can all be stored as machine-executable code in your git repositories and applied to dev environments automatically and continuously. |
48 |
| - |
49 |
| - |
50 |
| - |
51 |
| - |
52 |
| -**Remote-first. Secure by design.** |
53 |
| - |
54 |
| -You no longer need an over-powered laptop to code, Gitpod works just as smoothly on a Chromebook or iPad. All you need is a browser. Gitpod centralizes all source code and never stores it on insecure machines and networks. |
55 |
| - |
56 |
| - |
57 |
| - |
0 commit comments