-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitpod.yml
48 lines (46 loc) · 1.22 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
39
40
41
42
43
44
45
46
47
48
# Adapted from https://github.com/algorand-devrel/docker-algorand-gitpod
image: joepol/algorand-gitpod:bootcamp-1.1
tasks:
- name: Algorand
before: ~/algodeploy/algodeploy.py start
init: |
gp ports await 5432
psql -c 'create database indexer;'
gp ports await 4001
algorand-indexer daemon \
--loglevel info \
--postgres "host=localhost port=5432 user=gitpod dbname=indexer sslmode=disable" \
--algod-net "localhost:4001" \
--algod-token "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
--data-dir ~/.algodeploy/localnet/data/Node \
--dev-mode
- name: dev
init: |
cd /workspace/AlgorandDevWorkshop
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
command: |
cd /workspace/AlgorandDevWorkshop
source .venv/bin/activate
vscode:
extensions:
- ms-python.python
ports:
- name: dappflow
port: 3000
onOpen: open-preview
- name: algod
port: 4001
visibility: public
onOpen: ignore
- name: indexer
port: 8980
visibility: public
onOpen: ignore
- name: postgres
port: 5432
onOpen: ignore
- name: kmd
port: 4002
onOpen: ignore