forked from gitpod-samples/template-nix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
29 lines (27 loc) · 781 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
29
# "Before Using Agoric" dependencies are set up with Docker
# https://agoric.com/documentation/getting-started/before-using-agoric.html
image:
file: .gitpod.Dockerfile
# Starting a Project
# Ref: https://agoric.com/documentation/getting-started/start-a-project.html
tasks:
- name: Start Project
init: |
cd $THEIA_WORKSPACE_ROOT
agoric init demo
cd demo
agoric install
gp sync-done install
- name: Start the Agoric VM
init: gp sync-await install
command: |
cd $THEIA_WORKSPACE_ROOT/demo
agoric start --reset
- name: Deploy the Dapp
init: gp sync-await install
command: |
cd $THEIA_WORKSPACE_ROOT/demo
agoric deploy ./contract/deploy.js ./api/deploy.js
# vscode:
# extensions:
# - bbenoist.Nix