Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Nov 21, 2023
1 parent d1fe1e4 commit a59e04e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The build requires the following dependencies:
## Running Locally

To run the internet_identity canisters, proceed as follows after cloning the repository
To run the Internet Identity canister, proceed as follows after cloning the repository

```bash
npm ci
Expand All @@ -33,6 +33,12 @@ In a different terminal, run the following command to install the Internet Ident
dfx deploy internet_identity --no-wallet
```

> [!NOTE]\
> By default, a dummy (fixed) CAPTCHA is used. If you want to use the real (random) CAPTCHA, set
> `II_DUMMY_CAPTCHA` to `0`:\
> `II_DUMMY_CAPTCHA=0 dfx deploy internet_identity --no-wallet`

Then the canister can be used as

```bash
Expand Down
2 changes: 1 addition & 1 deletion dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "custom",
"candid": "src/internet_identity/internet_identity.did",
"wasm": "internet_identity.wasm.gz",
"build": "bash -c 'II_FETCH_ROOT_KEY=1 scripts/build'",
"build": "bash -c 'II_FETCH_ROOT_KEY=1 II_DUMMY_CAPTCHA=${II_DUMMY_CAPTCHA:-1} scripts/build'",
"shrink" : false
},
"test_app": {
Expand Down

0 comments on commit a59e04e

Please sign in to comment.