Recently I was in charge of the development of an independent site that Evangelical Alliance outsourced to the Chinese team. My side is in charge of development, my American colleagues are responsible for providing server resources, their head of China office (PM) is responsible for acceptance functions, and editors in other areas are responsible for input content. The architecture of the project consists of three independent services:

WordPress: as a content management background, provides content for editors to publish articles; Database: Mysql database, both services access the same database, WordPress is mainly responsible for writing, the official website is responsible for reading. Independent official website: display content, because there are many customization requirements, so use Java (Spring Boot + Thymeleaf) independent development;

We usually communicate by email, and the process of applying for a test server is too long and time-consuming. Therefore, AT the beginning, I only applied for the permission to link test data and develop it on my own computer. However… There are still two days to go online, just got the company’s new MacBook, I received an urgent business trip to Beijing, this back and forth more than ten hours, can not be wasted, or it will be sadly delayed…

I plan to use the time on the road to catch up on the final development and tuning. At present, I have completed my own part and entered the stage of joint adjustment and acceptance. However, I need to download software, configure the development environment and build dependencies on the new MacBook, so the Internet speed is not stable enough and time is not enough. As a cloud native myself, I remember that there are some collaborative development tools that may solve the problem quickly.

First, I used Pylon to take care of pre-code preparation. Open your laptop, use your phone to connect to the Internet, and log in to TeamCode (www.teamcode.com).After clicking Create Pylon, authorizing, and entering the Git repository address, you create the Java project’s development environment in about 5 seconds, giving a virtual Linux machine (I chose the default 1-core 2G), and pulling the code down.

Pylon may have detected that my project is Java, with Git and Maven installed by default, and it supports VSCode linking and cloud-ide direct coding. Since I have finished the development of basic services and styles, I just made some adjustments to fix bugs, so IT is ok not to download the IDE, I just opened it directly with cloud-IDE.

After opening, I also need to build MVN install once before starting. I was worried that if I wanted to build it, I would need to download a lot of dependencies. According to my previous experience, it would take at least 20 minutes. The network that uses is server and calculate force, have nothing to do with my local, ha ha…… Upload command to see start download rely on, I began to check-in on shu notebook, though, and I want to, onto the position has been building a successful, everything is ready, but I was a little excited, start the service, the spent two hours on the high speed rail can finish all the bugs, but now is how to make PM acceptance, I haven’t application server, Let alone Jenkins. Then use their Tin product to encapsulate and distribute. This is an application-wrapped product, and PM only sees the effect and does not change the code anyway, so I committed the changes to Git repository and created a Tin for PM.

After I started Tin myself and verified that there was no problem, I sent him an invitation link, telling him that he only needed to join my workspace and click the Endpoint of Tin to access it. If I made any modifications later, Tin could be quickly redeployed and the modified contents could be synchronized.

It’s almost time for your stop, so take a break and wait for his feedback.