-
Notifications
You must be signed in to change notification settings - Fork 140
/
.gitpod.yml
25 lines (24 loc) · 1.1 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
tasks:
- before: |
export PATH="$HOME/bin:$PATH"
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
sudo apt-get update
sudo apt-get install -q -y libunwind-dev build-essential clang libssl-dev pkg-config
DFX_VERSION=0.18.0 DFXVM_INIT_YES=true sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
source "$HOME/.local/share/dfx/env"
npm install &
dfx start --background --clean
rustup target add wasm32-wasi
cargo install --git https://github.com/wasm-forge/wasi2ic --rev 806c3558aad24224852a9582f018178402cb3679
export FOO=$(pwd)
cd $HOME && git clone https://github.com/demergent-labs/wasmedge-quickjs && cd wasmedge-quickjs && git checkout 6c81d7e6fe4b22a468beceed0ee697f4163e7ca8
cd $FOO
mkdir -p ${HOME}/.config/azle
mv $HOME/wasmedge-quickjs ${HOME}/.config/azle/wasmedge_quickjs_$(npx azle@0.21.0-rc.0 dockerfile-hash)
sed -i 's/npx azle message_board/npx azle message_board --native-compilation/g' dfx.json
open README.md
ports:
- name: Replica
port: 4943
visibility: public
onOpen: ignore