forked from rvanasa/vite-react-motoko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
33 lines (30 loc) · 780 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
# Online IDE configuration (safe to delete)
tasks:
- before: |
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
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
dfx start --background --clean
npm i -g ic-mops@latest
mops toolchain init
source ~/.bashrc
npm run setup
init: |
npm start
command: |
npm start
vscode:
extensions:
- dfinity-foundation.vscode-motoko
- svelte.svelte-vscode
ports:
- name: Replica
port: 4943
visibility: public
onOpen: ignore
- name: Dev Server
port: 3000
visibility: public
onOpen: open-browser