Write Commit Message to track what is changes from the previous codeĬheckout Existing Code from Gitlab to Local.
But I want to challenge myself using Gradle haha I kind of used to it when learning about Android Programming If I got stuck, a lot of solution is based on Maven. File -> New -> Other -> Search “Spring” -> Spring Boot -> Spring Starter Project.Since currently I create the program from scratch, I will generate SpringBoot project on my Eclipse and I will commit and push the code into Gitlab. Or Download from Gitlab to local if the source code is already exist. You can do it two ways, develop the basic structure locally first then upload to Gitlab. Just put Gitlab username and password and it connects like magic. For me, I chose HTTPS because the connection was easier. For URI, check in the main home page of your project, choose HTTPS or SSH. Choose Clone a Git Repository if you already did the above step (creating project on Gitlab), otherwise, you also can create new project directly from Eclipse.Activate Git Perspective on your Eclipse environment (Window -> Perspective -> Open Perspective -> Other -> Git).Install Spring Tool Suite from Eclipse Marketplace (Help -> Eclipse Marketplace).Install the newest Eclipse IDE version.Next is configuring your local development environment and connect it to the your own Gitlab Project server. For project team, you can invite another developers to the project.Įclipse IDE + SpringBoot + Git Plugin Installation Set the visibility as Public, Private, etc.
Register Gitlab Accountįirst of all, create GItlab account in Gitlab website. If you don’t want to spend more money, better to use the Gitlab server to manage your code. Because I chose the small server where the memory is only 1.7GB. I’ve tried deploy it at my Google Cloud server, and it keeps time out running. Otherwise the server would be overloaded. Your memory server must have at least 2GB RAM. The first deployment requires a lot of resources.
The weakness of Github is it is only supported Public project for free usage. Probably you’ve heard about Github, the most popular hub for sharing open source project.
However, imagine if you are in a project with 10 developers? How to manage the source code? How to synchronize and integrate your code with other developers? That is why we need source code management server, sometimes called SVN or subversion. A small project which has only one developer doesn’t need it because the source code management only done by one person. In team project, it is better to have a dedicated server to synchronize all the developer team work.