Skip to content

Commit 8a1d014

Browse files
committed
Documentation for Project IDX platform.
1 parent 7252b42 commit 8a1d014

File tree

3 files changed

+32
-16
lines changed

3 files changed

+32
-16
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
171171
- [x] Install Script for RedHat/Rocky 9.4 Linux x86-64 and arm64
172172
- [ ] Linux Image / VM
173173
- [x] Supervisor (Linux process manager) examples
174-
- [ ] Project IDX Configuration
174+
- [x] Project IDX Configuration
175175
- [ ] InfluxDB Integration
176176
- [x] Telegraf Integration
177177
- [ ] Kafka Integration
@@ -186,6 +186,12 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
186186
- [ ] Managed Cloud Service
187187
- [ ] Supported LTS versions
188188

189+
## Spin up a free private instance on Google's Project IDX
190+
191+
With just a Google account, you can spin up a free private instance for test/dev on Google's Project IDX. This is a great way to get started with the project. This will build the code from the Github repo and deploy it to a private Linux VM on the cloud running protocols and providing a web UI for you to interact with. There will be a web-based code editor available for you to develop new apps and view/change the code on the VM. You can also get help from Google's Gemini AI for coding and other tasks. This is free and there no need to install any software on your local machine.
192+
193+
See details [here](https://github.com/riclolsen/json-scada/blob/master/platform-nix-idx/README.md).
194+
189195
## Online Demo (substations simulation)
190196

191197
- http://150.230.171.172

index.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
173173
- [x] Install Script for RedHat/Rocky 9.4 Linux x86-64 and arm64
174174
- [ ] Linux Image / VM
175175
- [x] Supervisor (Linux process manager) examples
176-
- [ ] Project IDX Configuration
176+
- [x] Project IDX Configuration
177177
- [ ] InfluxDB Integration
178178
- [x] Telegraf Integration
179179
- [ ] Kafka Integration
@@ -188,6 +188,12 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
188188
- [ ] Managed Cloud Service
189189
- [ ] Supported LTS versions
190190

191+
## Spin up a free private instance on Google's Project IDX
192+
193+
With just a Google account, you can spin up a free private instance for test/dev on Google's Project IDX. This is a great way to get started with the project. This will build the code from the Github repo and deploy it to a private Linux VM on the cloud running protocols and providing a web UI for you to interact with. There will be a web-based code editor available for you to develop new apps and view/change the code on the VM. You can also get help from Google's Gemini AI for coding and other tasks. This is free and there no need to install any software on your local machine.
194+
195+
See details [here](platform-nix-idx/README.md).
196+
191197
## Online Demo (substations simulation)
192198

193199
- http://150.230.171.172

platform-nix-idx/README.md

+18-14
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,35 @@
22

33
Start a free instance for dev/test on Google's Project IDX platform with just a Google account.
44

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.
66

7-
https://idx.dev
7+
[https://idx.dev](https://idx.dev)
88

9-
2 - Create a new Workspace importing a GitHub repository.
9+
2. Create a new Workspace importing a GitHub repository.
1010

11-
URL: https://github.com/riclolsen/json-scada
12-
Name: json-scada
11+
* URL: https://github.com/riclolsen/json-scada
12+
* Name: json-scada
1313

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.
1515

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.
1717

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.
1919

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.
2521

22+
```bash
2623
supervisorctl status
2724
supervisorctl start all
2825
supervisorctl stop all
2926
supervisorctl restart all
30-
supervisorctl start iec104client
27+
supervisorctl stop iec104client
3128
supervisorctl start iec104client
3229
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

Comments
 (0)