code generation-github

0
Hi all, I want my Mendix application source code to be  pushed to git hub .Is that possible,if then how can I achieve this? Thanks Vijayalakshmi 
asked
5 answers
0

There is currently no easy out-of-the-box way to get a mendix application into github (sadly).

What you could do is use the mendix-sdk to generate a copy of your model in the sdk, place that in github, and use some scripts to reconvert it to a mendix model when you need it. But that is such a hassle to achieve that it is probaly not worth it.

What are your goals with github? Why do you specifically need it in github. Because what you want might be achievable with the default mendix team-server/

answered
0

I need to run some CI/CD pipeline scripts.It will be easy if my source code is availaible in git hub.

answered
0

Yeah that is true.

For know the best option is to use the mendix team-server api to poll for new updates, and then trigger your pipeline. We have a jenkins server running for this purpose. Sadly that means Travis-CI isn't an option anymore.

answered
0

Hi Vijay,

Would using the git svn bridge help ?? Then you should be able to create a git repo with the teamserver repo as a sort of subfolder. 

https://help.github.com/articles/support-for-subversion-clients/

answered
0

You could also try this tool:

 

https://github.com/mweststrate/mxgit

 

answered