|
2 | 2 |
|
3 | 3 | Start a free instance for dev/test on Google's Project IDX platform with just a Google account.
|
4 | 4 |
|
5 |
| -1 - Access the Project IDX platform, click on the "Get Started" button |
| 5 | +1. Access the Project IDX platform, click on the "Get Started" button. Connect your Google account if asked. |
6 | 6 |
|
7 |
| - https://idx.dev |
| 7 | + [https://idx.dev](https://idx.dev) |
8 | 8 |
|
9 |
| -2 - Create a new Workspace importing a GitHub repository. |
| 9 | +2. Create a new Workspace importing a GitHub repository. |
10 | 10 |
|
11 |
| - URL: https://github.com/riclolsen/json-scada |
12 |
| - Name: json-scada |
| 11 | + * URL: https://github.com/riclolsen/json-scada |
| 12 | + * Name: json-scada |
13 | 13 |
|
14 |
| -3 - Wait for the workspace to be imported and built. This will take a while, do not click the recover button. |
| 14 | + Alternatively, you can fork the repo on Github and import it from there. |
15 | 15 |
|
16 |
| -4 - When started some terminals will open for initialize and build the project. |
| 16 | +3. Wait for the workspace to be imported and built. This will take a while, do not click the recover button. When started, some terminals will open to initialize and build the project. Wait until all the tasks are finished and the workspace is ready. This will take some minutes. |
17 | 17 |
|
18 |
| -5 - Wait until the tasks are finished and the workspace is ready. This will take some minutes. |
| 18 | +4. Click the Project IDX button on left sidebar and select "Backend Ports". Click the "Open New Window" action for port 8080. This will give access to the web UI for the project. Login with admin/jsonscada credentials. |
19 | 19 |
|
20 |
| -6 - Click the Project IDX button on left sidebar and select "Backend Ports". |
21 |
| - |
22 |
| -7 - Click the "Open New Window" action for port 8080. This will give access to the web UI for the project. Login with admin/jsonscada credentials. |
23 |
| - |
24 |
| -8 - On the terminal control JSON-SCADA processes with the "supervisorctl" command. |
| 20 | +5. On the VSCode's terminal, control JSON-SCADA processes with the "supervisorctl" command. |
25 | 21 |
|
| 22 | +```bash |
26 | 23 | supervisorctl status
|
27 | 24 | supervisorctl start all
|
28 | 25 | supervisorctl stop all
|
29 | 26 | supervisorctl restart all
|
30 |
| - supervisorctl start iec104client |
| 27 | + supervisorctl stop iec104client |
31 | 28 | supervisorctl start iec104client
|
32 | 29 | supervisorctl tail -f iec104client
|
| 30 | +``` |
| 31 | + |
| 32 | +Open the Gemini chat with Ctrl+Shift+Space. |
| 33 | + |
| 34 | +Notice that the provided free VM is a constrained environment with limited resources: 8GB RAM, 1-core CPUs, 10GB Disk. |
| 35 | + |
| 36 | +More info for Project IDX [here](https://developers.google.com/idx). |
0 commit comments