Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rruiter87/tctemplate
A template repo for TwinCAT projects
https://github.com/rruiter87/tctemplate
beckhoff beckhoff-twincat beckhoff-twincat-plc industrial-automation plc-programming twincat twincat3
Last synced: about 2 months ago
JSON representation
A template repo for TwinCAT projects
- Host: GitHub
- URL: https://github.com/rruiter87/tctemplate
- Owner: rruiter87
- License: mit
- Created: 2022-11-23T09:09:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T07:42:57.000Z (6 months ago)
- Last Synced: 2024-06-26T08:29:40.172Z (6 months ago)
- Topics: beckhoff, beckhoff-twincat, beckhoff-twincat-plc, industrial-automation, plc-programming, twincat, twincat3
- Language: Python
- Homepage:
- Size: 377 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TcTemplate
_A template repo for TwinCAT projects_
## How to use
1. Go to https://github.com/rruiter87/TcTemplate and click **Use this template > Create new repository**.
2. Clone the newly created repo onto your local system.
3. Execute `init.ps1` to initialize pre-commit hooks and rename the project. Important: for this step, Python needs to be installed and the [pre-commit](https://pre-commit.com/) module as well.## pre-commit
The default pre-commit files has hooks for STweep, Python code, C# code, and [prettier](https://prettier.io/) for javascript, html etc. Remove any pre-commits which you do not want, or you do not have access to.
### Requirements
- Python with [pre-commit](https://pre-commit.com/)
- [STweepCLI](https://www.stweep.com/documentation/getting-started-3/)
- [.NET Csharpier](https://csharpier.com/)