Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)