Skip to content

Commit 8b8614b

Browse files
nit-fixes (#9)
1 parent 8db1b75 commit 8b8614b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.gitpod.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ image:
22
file: .gitpod.Dockerfile
33

44
ports:
5-
# Rails server
6-
- port: 3000
5+
- name: Rails server
6+
port: 3000
77
onOpen: open-preview
8-
# PostgreSQL server
9-
- port: 5432
8+
- name: PostgreSQL server
9+
port: 5432
1010
onOpen: ignore
1111

1212
tasks:
13-
- init: >
13+
- init: |
1414
bundle install &&
1515
yarn install &&
1616
rake db:create
17-
command: >
17+
command: |
1818
rails server -b 0.0.0.0
1919
2020
vscode:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A Ruby on Rails with Postgres template on Gitpod
22

3-
This is a [Ruby on Rails with Postgres](https://rubyonrails.org) template configured for ephemeral development environments on [Gitpod](https://www.gitpod.io/).
3+
This is a [Ruby on Rails with Postgres](https://rubyonrails.org) template configured for ephemeral cloud development environments on [Gitpod](https://www.gitpod.io/).
44

55
## Next Steps
66

@@ -22,4 +22,4 @@ To get started with Ruby on Rails with Postgres on Gitpod, add a [`.gitpod.yml`]
2222

2323
* The template was generated using `rails new . -d postgres`
2424
* [./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`.
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.
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 the public then anyone will be able to connect to the administration interface if they know the workspace name.

0 commit comments

Comments
 (0)