forked from cybertec-postgresql/pg_timetable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitpod.yml
More file actions
22 lines (18 loc) · 674 Bytes
/
.gitpod.yml
File metadata and controls
22 lines (18 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image:
file: .gitpod.dockerfile
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- name: Dependencies & Database
init: |
psql --command="CREATE USER scheduler PASSWORD 'somestrong'"
psql --command="CREATE DATABASE timetable OWNER scheduler "
command: PGPASSWORD=somestrong psql --username=scheduler --host=localhost --dbname=timetable -c "SELECT version()"
- name: Golang tools
command: go get -u github.com/rakyll/gotest
vscode:
extensions:
- golang.go
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
# ports:
# - port: 3000
# onOpen: open-preview