Autonomy-Logic/openplc-editor
Sobre
OpenPLC Editor - IDE capable of creating programs for the OpenPLC Runtime.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +3
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalOpen PLC Editor - IDE
Running a preview version
In order to run the development version, clone the repository, and install dependencies via npm, you need network access.
You'll need the following tools:
Step by step
- Clone the repository locally and go to the project folder.
git clone https://github.com/Autonomy-Logic/openplc-editor.git
cd openplc-editor
- Install the dependencies
npm install
npm install also fetches the pinned tools named in binary-versions.json: STruC++ (into node_modules/strucpp) and
the HMI widget libraries from openplc-hmi-widgets (into
vendor/hmi-widgets/, checked against the pinned SHA-256). npm run setup:strucpp and npm run setup:hmi-widgets
fetch each one again. To try a local build of openplc-hmi-widgets instead of the pinned release, point the setup at it:
OPENPLC_HMI_WIDGETS_DIR=<openplc-hmi-widgets>/dist npm run setup:hmi-widgets.
- Run the development script
npm run dev
Running tests
npm run test # Unit tests (Jest, with coverage)
npm run test:watch # Unit tests in watch mode (no coverage)
npm run test:e2e # End-to-end tests (Playwright, builds the app first)
Releasing a New Version
The project uses GitHub Actions to automatically build and release new versions for all supported platforms (macOS, Windows, and Linux) in both x64 and ARM64 architectures.
Creating a Release
To create a new release, simply create and push a new tag with the version number:
git tag v4.2.0
git push origin v4.2.0
This will automatically:
- Build the application for all platforms (macOS, Windows, Linux) and architectures (x64, ARM64)
- Sign and notarize the macOS builds
- Create a GitHub Release with all artifacts attached
- Generate release notes based on commits since the last release
Version Naming
- Use semantic versioning:
vMAJOR.MINOR.PATCH(e.g.,v4.2.0) - For pre-releases, add a suffix:
v4.2.0-beta,v4.2.0-alpha, orv4.2.0-rc1 - Pre-release tags will be marked as pre-releases on GitHub
Manual Workflow Trigger
You can also trigger the build workflow manually from the GitHub Actions tab without creating a release. This is useful for testing builds:
- Go to Actions > Build and Release
- Click "Run workflow"
- Optionally specify a version number
- Click "Run workflow"
Note: Manual triggers will build all artifacts but won't create a GitHub Release (releases are only created when pushing a tag).
Documentation
Please go to the repository wiki page to get instruction about the project.
Project Management
Go to project management page to see the current state of the project.
Issues
Go to issues page to view the current state of issues in the project.
License
The OpenPLC Editor is licensed under the GPLv3 (see LICENSE).
The baremetal runtime the editor builds into microcontroller firmware is dual-licensed: GPLv3 or a commercial licence. If you are using it in a commercial setting, you may need a commercial licence. Licences can be bought from the OpenPLC Editor (desktop or web) when you upload a program to the device.
Contributions require agreeing to the Contributor License Agreement by ticking its checkbox on the pull request; see CONTRIBUTING.md.
Explore projetos relacionados
Carregando…