-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitpod.yml
38 lines (36 loc) · 1.27 KB
/
.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
29
30
31
32
33
34
35
36
37
38
image:
file: .gitpod.Dockerfile
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- before: echo "export PATH=/home/gitpod/bin/:$PATH" > ~/.bashrc && source ~/.bashrc
init: |
dfx start --background
dfx deploy hello
npm install
npm start
- init: gp open src/signals_assets/src/App.jsx
command: |
zsh
exit
- command: echo "Welcome! We are starting up DFX and a development server for you. You should see a preview open up once it is ready"
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
- port: 3000
onOpen: open-preview
- port: 8000
onOpen: ignore
vscode:
extensions:
- esbenp.prettier-vscode
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: false