User Steps for Setting Up G-Repository Client
This lesson goes over the steps that your users must complete to set up G-Repository Client on their local machine.
Note: If the user’s machine has already been set up to download Scenarios and generate test data, then Steps 1 through 3 do not need to be completed.
Step 1: Download and Install Java version 1.7 or Higher.
The user will need to install Java Runtime or Java Developer Kit 1.7 or higher on their local machine. The articles below can be used to view step-by-step installation instructions:
- OSX/Linux: How to Install Java Runtime Environment (JRE)
- OSX/Linux: How to Install Java Developer Kit (JDK)
- Windows: How to Install Java (JDK or JRE) on your Computer
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 one of the articles below:
- OSX/Linux: GenRocket Initial Installation and Setup
- Windows: GenRocket Initial Installation and Setup
Step 3: Download User Profile and place in .genrocket Subdirectory.
Each user will need to download their User Profile to their local machine and then place it within the .genrocket subdirectory within the home directory.
For complete steps, click on the link below:
- OSX/Linux: How do I download and setup my User Profile?
- Windows: How do I download and set up my User Profile?
Step 4: Create a G-Repository Client Base Subdirectory (Performed only once)
Before G-Repository Client Repos can be created on a computer, a base subdirectory, within the computer, must be created and registered as the G-Repository Client’s base subdirectory.
Command:
Syntax: -grcltbc
Example: genrocket -grcltbc
Example Usage:
In the example below, the user, johnDoe, launches a command line terminal and executes the following three steps:
- Makes a base subdirectory where all G-Repository Client Repos will be created,
- Changes to the newly made subdirectory,
- Executes the GenRocket command to register the subdirectory as the G-Repository Client base subdirectory.
> mkdir /home/johnDoe/GRepositoryClient/
> cd /home/johnDoe/GRepositoryClient/
> genrocket -grcltbc
***** Welcome to G-Repository Client *****
This process is for establishing a G-RepositoryClient, Base Directory.
This base directory is where all G-RepositoryClient repositories will reside on this computer.
You are currently in subdirectory, /home/johnDoe/GRepositoryClient
Are you sure you want this to be your G-RepositoryClient Base Directory (y/n): y
Congratulations! /home/johnDoe/GRepositoryClient, is now your G-RepositoryClient Base Directory
Step 5: Create a G-Repository Client Repository (Performed for each Repo)
A G-Repository Client Repo mirrors a Project Version managed by a G-Repository Server or directly from GenRocket Cloud.
A Repo will need to be created for each Project Version that the user will be using to generate test data.
Command
Syntax: -grcltc -grepo repoName
Example: genrocket -grcltc -grepo BankDemo
Example Usage:
In the example below, a User launches a command-line terminal and the full –grcltc command to create a G-Repository Client Repo named BankDemo:
> genrocket -grcltc -grepo BankDemo
***** Welcome to G-Repository Client *****
Are you sure you want this to create GenRocket client repository (y/n): y
Do you want this to connect to an OnPremise G-Repository Server (y/n): y
Please enter G-Repository Server’s URL (e.g. 10.1.0.1): 176.16.191.129
Please enter G-Repository Server’s main port number (e.g. 8020): 8020
***Successfully connecting to repository server at localhost: 8020 ***
Please enter G-Repository Server’s download port number (e.g.8021): 8021
***Successfully connecting to download server at localhost:8021 ***
- AccountSimData
- BankingDemo
- InvoiceProject
- BlackBoxDemo
- ChatBotData
- MongoPopulate
- OraclePopulate
- EdgeCaseSSNDemo
- EDI-834-005010-X220
- EDI-837-P-005010-X222
- EDI-850-004010-X359
- FixedFileMasking
- GenRocketBank
- GenRocketBankUI
- HL7Data
Select Project (1-15): 2
*** Checking G-Repository Server For Updates ***
Checking every 10 Seconds, Please stand by…
Ok, We’re Good!
Are you sure you want to create your client g-repository (y/n): y
Your g-repository has been created for Default 1.0 Project Version
Your g-repository is updating Default 1.0 Project Version
Checking for updates…
Processing AccountLevelScenario.grs – 0.04 ms
Processing AccountScenario.grs – 0.01 ms
Processing AccountTablesScenarioChain.grsc – 0.008 ms
Processing AccountTypeScenario.grs – 0.006 ms
Processing BankAccountStories.gstryste – 0.008 ms
Processing BankingTables.gtdc – 0.013 ms
Processing BankMediumSetup.gstryste – 0.008 ms
Processing BankSmallSetup.gstryste – 0.006 ms
Processing BankTypeSetup.gstryste – 0.004 ms
Processing BranchScenario.grs – 0.004 ms
Processing CardProductScenario.grs – 0.014 ms
Processing CardTypeScenario.grs – 0.01 ms
Processing CustomerAccountScenario.grs – 0.006 ms
Processing CustomerScenario.grs – 0.009 ms
Processing PopulateAllForMediumTestData.gstryepc – 0.006 ms
Processing PopulateAllForSmallTestData.gstryepc – 0.006 ms
Processing StartingBalanceRules.gtdr – 0.005 ms
Processing TransactionScenario.grs – 0.01 ms
Processing TransactionTypeScenario.grs – 0.007 ms
Processing TypeTablesScenarioChain.grsc – 0.006 ms
***** G-Repository Client update completed – 3s *****
Links:
Create G-Repository Client Base Subdirectory (Perform Once)
https://genrocket.freshdesk.com/a/solutions/articles/19000123604
Create a G-Repository Client Repo for each G-Repository Server
https://genrocket.freshdesk.com/a/solutions/articles/19000123693
Search GenRocket Knowledge Base
Related Assets
How to set up a G-Repository Client Repos
A G-Repository Client Repo mirrors a Project Version managed by a G-Repository Server or directly from GenRocket Cloud.
Read More