forked from aaravm/FairBET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
40 lines (38 loc) · 1.18 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
image:
file: .gitpod.Dockerfile
tasks:
- name: Setup environment
init: |
sudo apt-get update && sudo apt-get install -y \
git \
curl \
cp .streamlit/secrets.toml.example .streamlit/secrets.toml
echo "Python version:"
python3 --version
echo "Git version:"
git --version
- name: Create Nillion environment
init: |
echo "Nilup version:"
nilup -V
command: |
cd nillion-python-starter/
nilup install latest
nilup use latest
nilup init
sudo apt update
sudo apt install nodejs npm
sh telemetry.sh
source /home/gitpod/.bashrc && export PATH=$PATH:/home/gitpod/.nilup/sdks/latest
nillion -V
pip install --upgrade pip
pip install -r requirements.txt
cd quickstart/nada_quick_start_programs
nada build
cd ..
cd ..
echo "✅ Compiled all programs to binary (.nada.bin) in target/ directory"
echo "🖥️ Check out Nada programs in src/ directory"
echo "🧪 Check out Nada program test files in tests/ directory"
echo "👇 Run the addition program with the addition_test file with the 'nada run' command"
nillion-devnet