Search blog: labels_t:"tutorial"

 

My first forge project i-campbell blog (Blog Post)
I started my first project over at [prj:mqttchat]. I documented my steps in the hopes it will help others publish their first project, and to be used as a basis for improving the forge platform to make these steps even easier. If relevant, talk to your employer about it. In my organization, there is a work instruction for this very thing, called "AA: Produktentwicklung: Forge Development". If you already have TortoiseSVN installed, make sure your svn path variables are set: (Start > Control Panel > Programs and features > TortoiseSVN > Change > Next > Modify > Tick the option for command line client tools > Next > Install) If not, simply install TortoiseSVN and tick the command line tools option Install SVN plugin CODESYS from store.codesys.com Install cforge package CODESYS from https://forge.codesys.com/tol/cforge/home/Home/ (big "Download package" button) Run <CODESYS Install directory>/cforge/Setup.bat edit <CODESYS Install directory>/cforge/Setup.reg ==> and replace %V with \"%V\" if not already done Run <CODESYS Install directory>/cforge/Setup.reg Pick which area to create your project in forge (Drivers and targets are obvious, Projects are for if it does something all by itself, libraries are if it is just a part of the users application, and tools are for non-codesys projects that might be useful when you make codesys projects) Go to your chosen area's homepage and "Register a new project" Give it some cool names and metadata Go to the Code section of the website of your new project, and press the [checkout] button. This checks it out with cforge BOOM! You have an SVN repository at C:\Users\<username>\<forge neighborhood name>,<project name>,<code> ... but it's empty in the code section of your forge project it has some suggested steps... but they are not customized to the cforge workflow. You've already checked out with cforge though.. so in windows explorer, navigate to C:\User\<username>\<forge neighborhood name>,<project name>,<code> make three new empty directories: trunk branches tags select the three of them, right click > TortoiseSVN... > add right click the C:\Users\<username>\<forge neighborhood name>,<project name>,<code> folder > cforge > commit. Give it a commit message like "Just adding the default SVN folders" pop your .project (or .libs or whatever) in /trunk select all your files, right click > TortoiseSVN... > add right click the C:\Users\<username>\<forge neighborhood name>,<project name>,<code> folder > cforge > commit. Give it a commit message like "First publicly available code, it currently does what it says on the tin most of the time" back in forge.codesys.com/<your project>, go to Code and find the file you want people to download. right click and copy url Edit your homepage for your project, describing how to use it, and include a [[download url=<copied_link> label=<the label, eg. project>]] when you have the permission to, give it a license of UNLICENSE let people know about it on social media or forge.codesys.com/forge/talk TODO: Investigate the forge .package mechanism described at https://forge.codesys.com/forge/wiki/Migrating%20Projects/
Last updated: 2020-04-16

Showing 1 results of 1

Sort by relevance or date