-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* config gitpod * fix * fix * update vscode plugin * bump dfx * fix * bump 0.5.7 * fix * fix
- Loading branch information
1 parent
4cb74c8
commit f11b9f5
Showing
9 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM gitpod/workspace-full | ||
|
||
USER gitpod | ||
|
||
# Install custom tools, runtime, etc. using apt-get | ||
# For example, the command below would install "bastet" - a command line tetris clone: | ||
# | ||
# RUN sudo apt-get -q update && # sudo apt-get install -yq bastet && # sudo rm -rf /var/lib/apt/lists/* | ||
# | ||
# More information: https://www.gitpod.io/docs/config-docker/ | ||
RUN wget https://sdk.dfinity.org/install.sh -O /tmp/install-sdk.sh \ | ||
&& sh -c 'yes Y | sh /tmp/install-sdk.sh' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
tasks: | ||
- init: npm install && pip install crc8 | ||
command: | | ||
gp await-port 8000 | ||
dfx build | ||
dfx canister install --all | ||
ID=$(xxd -u -p canisters/linkedup/_canister.id) | ||
CRC=$(python2 -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest().upper())") | ||
gp preview $(gp url 8000)/?canisterId=ic:$ID$CRC | ||
- command: dfx start | ||
name: replica | ||
openMode: tab-after | ||
image: | ||
file: .gitpod.Dockerfile | ||
ports: | ||
- port: 8000 | ||
onOpen: ignore | ||
vscode: | ||
extensions: | ||
- dfinity-foundation.vscode-motoko@0.3.4:94sM6KNSH0sWMuF40BrlUQ== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,5 @@ | |
"port": 8000 | ||
} | ||
}, | ||
"dfx": "0.5.5" | ||
"dfx": "0.5.7" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters