-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitpod.yml
43 lines (42 loc) · 1006 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
image:
file: .gitpod.Dockerfile
ports:
- name: Graph query
port: 8000
visibility: private
onOpen: open-browser
tasks:
- init: |
npm install
cd subgraph && yarn install && cd -
command: gp sync-done depinit && exit
- name: Ethereum Node
command: ganache-cli -h 0.0.0.0 -m "$MNEMONIC"
- name: Graph Node
command: |
cd /home/gitpod/graph-docker/graph-node/docker
docker-compose up -d
sleep 10
gp sync-done graphnode
docker-compose logs -f
- name: Create deploy
command: |
gp sync-await depinit
gp sync-await graphnode
gp await-port 8020
cd subgraph && yarn create-local && cd -
gp sync-done graphdeploy
exit
- name: Smart contract
command: |
gp sync-await depinit
gp sync-await graphdeploy
gp sync-await graphnode
gp await-port 8020
./watch.sh
vscode:
extensions:
- dbaeumer.vscode-eslint
- graphql.vscode-graphql
- juanblanco.solidity