G-Repository Server Prerequisites
This lesson goes over the prerequisite steps that must be completed before creating a G-Repository Server in Lesson 4 of this module.
G-Repository Server requires the use of Java, GenRocket Jars, and a MySQL Database server to keep synchronization information between GenRocket Cloud Projects and OnPrem Projects within your corporate environment.
Before a G-Repository Server can be created within your corporate environment, please make sure the following prerequisites have been met on the server that will be used to set up the G-Repository Server:
Step 1: Download and Install Java version 1.8 or Higher.
You will need to install Java Runtime or Java Developer Kit 1.8 or higher on the server that will be used for setting up G-Repository Server.
- OSX/Linux: How to Install Java Runtime Environment (JRE)
- OSX/Linux: How to Install Java Developer Kit (JDK)
Step 2: Download and Install latest version of GenRocket Runtime.
GenRocket Runtime can be downloaded from GenRocket Cloud by logging in with your user credentials.
Once downloaded, complete the steps outlined in this article:
Step 3: Download User Profile and Place in .genrocket Subdirectory.
A G-Repository Server can only be set up and launched by a GenRocket Org Admin. A GenRocket Org Admin must first download their GenRocket profile to the machine, where a G-Repository server is to be set up and place their profile in the .genrocket subdirectory.
Once a G-Repository Server is set up with the given GenRocket Org Admin, it is permanently tied to that Org Admin.
For complete steps, click on the link below:
Step 4: Download and install MySQL version 5.7 or higher.
MySQL version 5.7 or higher will need to be installed on the server that G-Repository Server will be set up and run on.
Step 5: Execute the following commands within MySQL:
- GRANT ALL ON *.* to user_name@localhost IDENTIFIED BY ‘password’;
- Example: GRANT ALL ON *.* to root@localhost IDENTIFIED BY ‘admin’;
- create database g_repository_server;
- You have placed the appropriate MySQL Driver Jar into the genrocket/lib subdirectory
Once these steps have been completed, you are ready to create a G-Repository Server on the machine. See Lesson 4 of this training module to learn more.