forked from rvanasa/vite-react-motoko
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitpod.yml
34 lines (31 loc) · 873 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
# Online IDE configuration (safe to delete)
tasks:
- before: |
npm install &
export MO_DEV_HIDE_URLS=1 # hide Candid UI links
export PATH="$HOME/bin:$PATH"
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
sudo apt-get install -q -y libunwind-dev
DFXVM_INIT_YES=1 sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
source "$HOME/.local/share/dfx/env"
rustup target add wasm32-unknown-unknown
dfx start --background --clean 2>/dev/null
npm run setup
init: |
npm start
command: |
npm start
vscode:
extensions:
- dfinity-foundation.vscode-motoko
- rust-lang.rust-analyzer
- tamasfe.even-better-toml
ports:
- name: Replica
port: 4943
visibility: public
onOpen: ignore
- name: Dev Server
port: 3000
visibility: public
onOpen: open-browser