-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
28 lines (27 loc) · 688 Bytes
/
.gitpod.yml
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
image:
file: .gitpod.Dockerfile
ports:
- port: 3000
onOpen: open-browser
visibility: public
- port: 3001
onOpen: open-preview
visibility: public
- port: 5432
onOpen: ignore
tasks:
- init: >
(cp .env.example .env || true) &&
pipenv install &&
psql -U gitpod -c 'CREATE DATABASE example;' &&
psql -U gitpod -c 'CREATE EXTENSION unaccent;' -d example &&
psql -c "ALTER USER gitpod PASSWORD 'postgres';" &&
bash database.sh &&
python docs/assets/greeting.py back
- command: >
npm install &&
python docs/assets/greeting.py front
openMode: split-right
vscode:
extensions:
- esbenp.prettier-vscode