Convert all howtos to use pear run --dev (#152)

This commit is contained in:
Sean Zellmer
2024-10-22 08:06:18 -05:00
committed by GitHub
parent 174dcce808
commit 706f396a5d
6 changed files with 22 additions and 22 deletions

View File

@@ -50,7 +50,7 @@ server.listen(keyPair).then(() => {
Pear.teardown(() => server.close())
```
Open the `server-app` with `pear dev`.
Open the `server-app` with `pear run --dev .`.
Create the `client-app` project with the following commands:
@@ -81,7 +81,7 @@ Pass the key to the client:
```
cd client-app
pear dev -- <SUPPLY KEY HERE>
pear run --dev . -- <SUPPLY KEY HERE>
```
The `client-app` will spin up a client, and the public key copied earlier must be supplied as a command line argument for connecting to the server. The client process will log `got connection` into the console when it connects to the server.