Skip to content

Commit e753900

Browse files
committed
shared dfx
1 parent 3f8c29d commit e753900

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

examples/password_manager/deploy_locally.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ set -e
55
# Check that `dfx` is installed.
66
dfx --version >> /dev/null
77

8+
# Run `dfx` if it is not already running.
9+
dfx ping &> /dev/null || dfx start --background --clean >> /dev/null
10+
811
# Deploy the Internet Identity canister and export the environment variable of
912
# the canister ID.
1013
dfx deps pull && dfx deps init && dfx deps deploy &&
1114
export CANISTER_ID_INTERNET_IDENTITY=rdmx6-jaaaa-aaaaa-aaadq-cai
1215

1316
# Deploy the backend canister.
1417
pushd ../../backend/rs/canisters/ic_vetkeys_encrypted_maps_canister
15-
# Run `dfx` if it is not already running.
16-
dfx ping &> /dev/null || dfx start --background --clean >> /dev/null
1718
dfx deploy
1819
popd
1920

examples/password_manager/dfx.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,5 @@
1818
],
1919
"type": "assets"
2020
}
21-
},
22-
"networks": {
23-
"local": {
24-
"bind": "localhost:8000",
25-
"type": "ephemeral"
26-
}
2721
}
2822
}

0 commit comments

Comments
 (0)