Skip to main content
15-Moonstone
March 15, 2019
Question

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

  • March 15, 2019
  • 1 reply
  • 3062 views

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

Community Manager
March 19, 2019

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