[Windows 10] Need help setting up TeamCity and IntelliJ for Minecraft Modding for multiple machines

Hey, I'm trying to set up an IntelliJ and TeamCity client that stays in sync on my laptop and desktop. I already got the two programs downloaded and I'm not sure how or if this is even possible. Basically, I want to be able to edit my coding on one computer (say for instance, I'm not at home and want to edit my code on my laptop and then when I get home, the code is synced with the code on my desktop, similar to what OneDrive and Office 365 does). I have IntelliJ set up on both computers but I haven't moved the project I have on my desktop (I started on my laptop since that's my primary machine). With TeamCity on the other hand, I really don't know how to set it up as I have tried before, it doesn't seem to want to build my mod code (Minecraft Forge uses grade and I've asked their community for help but no luck unfortunately). Is there any kind of way to have IntelliJ and TeamCity sync my code whenever I make changes or hit save between my laptop and desktop? Also.. how exactly do I set up TeamCity for Minecraft Forge?

7 comments

I did forget to mention that Minecraft Forge has its own set of commands for compiling and building the mods which they utilize gradle. How would I be able to use those?

0

Hello Nova,

We have a TeamCity plugin for IntellJ IDEA, that provides an ability to perform remote run, pre-tested commit and so on. Please find the full list of features here.

It is assumed that you use VCS (e.g. Git, SVN, etc.) to sync the code.

You can use Gradle runner in TeamCity to build Gradle projects.

0

I use Github for the VCS, how do I import my github project in TeamCity?

0

Also, how do I connect TeamCity to the same workspace for both of my machines? I achieved this with InteillJ by using DropBox and opening lots of space on it. Is that the case possible with TeamCity?

0

You can create a project from URL in TeamCity, please follow the steps described in the section.

You should have one TeamCity server available from both of your machines. For example you can install TeamCity on a separate server or inside Amazon EC2/Azure. To connect TeamCity from IntelliJ IDEA you should install TeamCity plugin for IDEA and properly configure it.

0

If I did an internal server and placed that server in Dropbox, would that work also? I was asking because I don't know how to set up servers (I did follow the instructions but I was never able to determine if it worked on different machines)

0

Hello,

Sorry for delay. 
When you install TeamCity you can open it using server URL and port. If you are able to reach server with TeamCity installed from another computer, then you'll be able to open TeamCity. See the related post: http://stackoverflow.com/questions/1931165/accessing-teamcity-from-a-remote-machine.
Another solution is to run TeamCity server in Amazon or Azure.

0

Please sign in to leave a comment.