diff --git a/.travis.yml b/.travis.yml index 737a8ff..7eb3dfb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,6 @@ install: script: - sh bootstrap.sh - ID=$(xxd -p canisters/profile/_canister.id) -- CRC=$(python -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())") -- wget -O index.html http://127.0.0.1:8000/?canisterId=ic:$ID$CRC +- CRC=$(python2 -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())") +- wget -O index.html http://127.0.0.1:8000/?canisterId=ic:$ID$CRC - cat index.html diff --git a/Dockerfile b/Dockerfile index a77037d..b4fcfb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN sudo apt-get install -y nodejs # Install DFINITY SDK. RUN wget https://sdk.dfinity.org/install.sh -O /tmp/install-sdk.sh -RUN DFX_VERSION=0.4.12 sh -c 'yes Y | sh /tmp/install-sdk.sh' +RUN DFX_VERSION=0.4.13 sh -c 'yes Y | sh /tmp/install-sdk.sh' ENV PATH /home/developer/bin:${PATH} # Create workspace directory. diff --git a/README.md b/README.md index a63c42a..458b5f2 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,9 @@ docker run \ dfinity-lab/linkedup sh bootstrap.sh ``` -Open the canister in your web browser. +Open the canister frontend in your web browser. ```bash -ID=$(xxd -p canisters/index/_canister.id) -CRC=$(python -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())") -xdg-open "http://127.0.0.1:8000/?canisterId=$ID$CRC" +ID=$(xxd -u -p canisters/profile/_canister.id) +CRC=$(python2 -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())") +xdg-open "http://127.0.0.1:8000/?canisterId=ic:$ID$CRC" ``` diff --git a/package-lock.json b/package-lock.json index bf93645..599561b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -623,20 +623,16 @@ "integrity": "sha512-5ZvAxd05HDDU+y9BVvcqYu2LLXmPnQ0hW62h32g4xBTgL/MppR4/04NHfj/ycM2y6lmTnbw6HVi+1eN0Psba6w==", "dev": true, "requires": { - "chownr": "^1.1.2", + "bluebird": "^3.5.5", + "chownr": "^1.1.1", "figgy-pudding": "^3.5.1", - "fs-minipass": "^2.0.0", "glob": "^7.1.4", - "graceful-fs": "^4.2.2", - "infer-owner": "^1.0.4", + "graceful-fs": "^4.1.15", + "infer-owner": "^1.0.3", "lru-cache": "^5.1.1", - "minipass": "^3.0.0", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", + "mississippi": "^3.0.0", "mkdirp": "^0.5.1", "move-concurrently": "^1.0.1", - "p-map": "^3.0.0", "promise-inflight": "^1.0.1", "rimraf": "^2.7.1", "ssri": "^7.0.0", @@ -3936,7 +3932,7 @@ "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", "dev": true, "requires": { - "atob": "^2.1.1", + "atob": "^2.1.2", "decode-uri-component": "^0.2.0", "resolve-url": "^0.2.1", "source-map-url": "^0.4.0", diff --git a/src/profile/public/.DS_Store b/src/profile/public/.DS_Store deleted file mode 100644 index 5008ddf..0000000 Binary files a/src/profile/public/.DS_Store and /dev/null differ