-
Notifications
You must be signed in to change notification settings - Fork 600
feat(docs): Fixes from audit #7640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
285edeb
5d9478e
f6b57b6
4813413
d0326ea
f9c7a8c
45cd111
60eabe0
9e37aa7
fcedc9e
a5a9ae3
f50f3d2
d0af4fc
cd86d7c
73c0faf
c251daa
d98feb0
35c0d65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,14 @@ title: Running Multiple PXEs in the Sandbox | |
| sidebar_position: 2 | ||
| --- | ||
|
|
||
| :::warning | ||
|
|
||
| Unfortunately, this is currently not working due to a bug when attempting to run an `aztec` command with the sandbox running. This will be fixed in a future version. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a git issue to come back to this line and update (tagging devrel)? Ideally linked to corresponding engineering issue if it exists, so we get notified once fixed.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can't find one, but ive created one for us to keep an eye on it |
||
|
|
||
| ::: | ||
|
|
||
| -- | ||
|
|
||
| When you run the sandbox, the Aztec node and PXE have their own http server. This makes it possible to run two PXEs on your local machine, which can be useful for testing that notes are accurately stored and remaining private in their respective PXEs. | ||
|
|
||
| We are working on a better solution for this so expect an update soon, but currently you can follow this guide. | ||
|
|
@@ -12,20 +20,20 @@ We are working on a better solution for this so expect an update soon, but curre | |
| Rather than use the usual command, run: | ||
|
|
||
| ```bash | ||
| cd ~/.aztec && docker-compose up | ||
| cd ~/.aztec && docker-compose -f ./docker-compose.sandbox.yml up | ||
| ``` | ||
|
|
||
| This removes any other arguments, allowing you to ensure an isolated environment for the sandbox so it doesn't interfere with another PXE. | ||
| This removes any other arguments, allowing you to ensure an isolated environment for the sandbox so it doesn't interfere with another PXE. By default, the sandbox will run on port `8080`. | ||
|
|
||
| ## Run PXE mode in another terminal | ||
|
|
||
| In another terminal, run: | ||
|
|
||
| ```bash | ||
| aztec start --pxe nodeUrl=http://localhost:8080/ | ||
| aztec start --port 8081 --pxe nodeUrl=http://host.docker.internal:8080/ | ||
| ``` | ||
|
|
||
| This command uses the default ports, so they might need to be changed depending on yuor configuration. | ||
| This command uses the default ports, so they might need to be changed depending on yuor configuration. It will run the PXE on port `8081`. | ||
|
|
||
| You should see something like this: | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.