You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the application in your browser at `http://127.0.0.1:8000/`.
343
+
Open the application in your browser at `http://localhost:8000/`.
414
344
415
-
Then, open developer tools, go to the console and paste the copied JavaScript code to set your cookies.
345
+
1. Run the following command specifying the address where your app is running on localhost and a machine to test on.
346
+
The command will proxy your local app and open a browser window and navigate to `http://localhost:8000/machine/<machineHostname>` for the machine provided with --machine-id.
viam module local-app-testing --app-url http://localhost:8000 --machine-id <MACHINE-ID>
351
+
```
419
352
420
353
### Add functionality to your code
421
354
@@ -742,7 +675,7 @@ You can find all the code in the [GitHub repo for this tutorial](https://github.
742
675
npm start
743
676
```
744
677
745
-
{{<imgprocsrc="/tutorials/air-quality-fleet/terminal-url.png"resize="800x"declaredimensions=truealt="Terminal window with the command 'npm start' run inside the aqi-dashboard folder. The output says 'start' and then 'esbuild' followed by the esbuild string from the package.json file you configured. Then there's 'Local:' followed by a URL and 'Network:' followed by a different URL."class="imgzoom"style="width:500px">}}
678
+
{{<imgprocsrc="/tutorials/air-quality-fleet/terminal-url.png"resize="800x"declaredimensions=truealt="Terminal window with the command 'npm start' run inside the aqi-dashboard folder. The output says 'start' and then 'esbuild' followed by the esbuild string from the package.json file you configured. Then there's 'Local:' followed by a URL and 'Network:' followed by a different URL."class="imgzoom"style="width:800px">}}
746
679
747
680
1. The terminal should output a line such as `Local: http://127.0.0.1:8000/`.
748
681
Copy the URL the terminal displays and paste it into the address bar in your web browser.
@@ -871,7 +804,7 @@ Repeat to add the New York office: Add a new location called `New York Office`,
871
804
872
805
## Getting machines ready for third parties
873
806
874
-
Continuing with our fictitious company, let's assume you want to ship air sensing machines to customers as ready-to-go as possible.
807
+
Let's continue with our fictitious company and assume you want to ship air sensing machines out to customers from your factory.
875
808
In other words, you want to provision devices.
876
809
877
810
Before an air sensing machine leaves your factory, you'd complete the following steps:
@@ -885,7 +818,7 @@ Once a customer receives your machine, they will:
885
818
1. Plug it in and turn it on.
886
819
2.`viam-agent` will start a WiFi network.
887
820
3. The customer uses another device to connect to the machine's WiFi network and the user gives the machine the password for their WiFi network.
888
-
4. The machine can now connect to the internet and complete setup based on the fragment it knows about.
821
+
4. The machine can now connect to the internet and complete setup based on the specified fragment in the configuration template.
0 commit comments