cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Thingworx and Visual Studio Code with any Source Control, CI / CD

htran-21
15-Moonstone

Thingworx and Visual Studio Code with any Source Control, CI / CD

Hi,

 

I am very glad that Thingworx has Importer/Exporter modules that help me write a tool to solve problems related to Source Control / CI / CD. Now I could track changes with Git / SVN, do code integration/versioning/branching, backup/deploy/restore code on any server extremely faster and easier.

 

1. Setup a project 
mkdir TEST 

 

2. Start Visual Studio Code:  
cd TEST 
code .   

 

task configurationtask configuration

 

3. Pull the project from server: run task ”pull-project 

pull-projectpull-project


4. Push the project to a server: run 
task ”push-project 

push-projectpush-project


5. Restore the server by the latest backup: run task “restore” 

restorerestore

6. Task List

task-listtask-list

7. Editable source code in a XML file is extracted to individual files in .src folder 

 

Javascript related serviceJavascript related serviceSQL related serviceSQL related service

 

My Bests,

Hung Tran

1 REPLY 1
slangley
23-Emerald II
(To:htran-21)

Hi @htran-21.

 

Thank you for sharing your knowledge with our community.  Your participation and commitment to the community is commendable and greatly appreciated!

 

We hope you will continue to share topics in the future.  Or if you feel comfortable doing so, your response to questions posted by others would also be appreciated.

 

Thanks again.

 

--Sharon

Top Tags