forked from gitpod-samples/template-ruby-on-rails-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitpod.yml
More file actions
34 lines (30 loc) · 608 Bytes
/
Copy path.gitpod.yml
File metadata and controls
34 lines (30 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
image:
file: .gitpod.Dockerfile
ports:
- name: Rails server
port: 3000
onOpen: open-preview
visibility: public
- name: PostgreSQL server
port: 5432
onOpen: ignore
tasks:
- name: Installing Dependencies
init: |
bundle install &&
yarn install
gp sync-done installs
openMode: split-left
- name: create database & start server
init: gp sync-await installs
command: |
rake db:create
rails server -b 0.0.0.0
openMode: split-right
vscode:
extensions:
- rebornix.ruby
jetbrains:
rubymine:
prebuilds:
version: both