forked from 4GeeksAcademy/LMezza-start-Wars-Rest-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitpod.yml
More file actions
25 lines (24 loc) · 642 Bytes
/
.gitpod.yml
File metadata and controls
25 lines (24 loc) · 642 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
image:
file: .gitpod.Dockerfile
ports:
- port: 3000
onOpen: open-preview
visibility: public
- port: 3306
onOpen: ignore
visibility: public
tasks:
- init: >
(cp -n .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/welcome.py
command: >
pipenv run start;
github:
prebuilds:
# enable for the master/default branch (defaults to true)
main: false