-
Notifications
You must be signed in to change notification settings - Fork 552
/
.gitpod.yml
56 lines (45 loc) · 1.15 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
49
50
51
52
53
54
55
56
image:
file: .gitpod.Dockerfile
checkoutLocation: "ignite"
workspaceLocation: "./ignite/.gitpod"
tasks:
- name: Open the Readme
command: gp open readme.md
- name: Setup
init: |
##
## install Ignite CLI
make -C /workspace/ignite install
command: |
##
# configure env vars.
echo "
export VITE_CUSTOM_URL=$(gp url)
export CHISEL_ADDR=$(gp url 7575)
export RPC_ADDRESS=$(gp url 26657):443
export API_ADDRESS=$(gp url 1317)
" >> ~/.bashrc && source ~/.bashrc
echo "
export VITE_API_COSMOS=${API_ADDRESS}
export VITE_API_TENDERMINT=${RPC_ADDRESS}
export VITE_WS_TENDERMINT=${RPC_ADDRESS/https/wss}/websocket
" >> ~/.bashrc && source ~/.bashrc
##
# cd into the .gitpod dir.
cd .gitpod
##
# print a welcome message.
clear && printf '\e[3J'
echo -e "
This terminal has the \033[1mignite\033[0m binary already installed and ready to go.
"
ports:
- port: 1317
- port: 26657
visibility: public
- port: 26659
visibility: public
- port: 8080
- port: 7575
visibility: public
- port: 4500