Commit 5dcc08c
[Common] Add Ona devcontainer environment setup (#3643)
Adds a dev container configuration so new contributors get a working environment automatically on first clone, without any manual setup.
## Changes
- **`.devcontainer/Dockerfile`**: Java 21 (Microsoft OpenJDK) + Node.js 22 + Angular CLI
- **`.devcontainer/devcontainer.json`**: forwards UI port (4200, opens in browser) and all OSGi console/API ports (8079–8085)
- **`.ona/automations.yaml`**: runs `npm ci` on devcontainer start; manual build tasks for backend, edge, and all; services for the UI dev server, OpenEMS Backend, and OpenEMS Edge
- **`ui/package-lock.json`**: synced with `package.json` (was missing `chokidar`, `glob-parent`, `readdirp`)
## Notes
- The Backend and Edge services require their JARs to exist first — run the **Build Backend** / **Build Edge** tasks before starting those services.
- Odoo is not included — it's an optional dependency not needed for core development.
## Open tasks
- Update documentation https://openems.github.io/openems.io/openems/latest/simulation/gitpod.html / https://github.com/OpenEMS/openems/blob/develop/doc/modules/ROOT/pages/simulation/gitpod.adoc
- Update README https://github.com/OpenEMS/openems/blob/develop/README.md
- Provide a version with Odoo and Backend-Edge included
- Rename /tools/gitpod/ folder to one or devcontainer
Thank you for providing a detailed issue report: #3532
Co-authored-by: Sebastian Brandl <12988001+Sebigamer4@users.noreply.github.com>
Co-authored-by: Ona <no-reply@ona.com>
Co-authored-by: Stefan Feilmeier <stefan.feilmeier@fenecon.de>1 parent fec71f0 commit 5dcc08c
File tree
4 files changed
+176
-0
lines changed- .devcontainer
- .ona
- ui
4 files changed
+176
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments