Professional Documents
Culture Documents
GitLab Process and Other Info
GitLab Process and Other Info
GitLab Process and Other Info
Go to GitLab (tool where all repo, CI/CD, dev ops activities are carried out)
Navigate to the project to be cloned
Copy the link to ‘Clone with HTTPS'
Now navigate to the home (root) folder of your system from finder>Go>Home
Create/open a folder for all project repositories. e.g Repositories
Open terminal
Cd into the Repository folder
Run git clone(paste copied link)
Cd into the cloned project folder
Check the node version using node -v
Make sure it is v8.9.1
if it is not, downgrade/upgrade the version using this command:
nvm use —delete-prefix v8.9.1
if this does not work, check if nvm is installed by nvm —version
if not installed, run nvm install v8.9.1 and then try again nvm use —delete-prefix
v8.9.1
Check for npm version using npm -v
Make sure it is v5.5.1
Then run npm install
Now navigate to cd node_modules/dgad-mongo-restore/bin
Once you’re inside bin, take the DB snapshot by running the following
(Remember to replace the targeted project name instead of the 2 instances of
‘kleber-tc’ in the below command):
node dgad-mongo-restore-cli -p lab-kleber-tc -u mongodb://localhost:27017/kleber-
tc -e preprod -c always -r https://mongo-snapshot.apps.dgadteamdev.com -a
dgad:KtzDMbVpvgB6BKdfvZb3QpGPrSlW88zm
With this command you would have cloned the mongo db instance as a connection
into your local Mongo DB workbench like Robo 3T
Open the git cloned project on your IDE e.g. Visual Studio Code
Add the local.js file in the config folder of the project
Now from the visual studio code’s terminal again verify if the node version is
v8.9.1 by node -v
Now to run the project run npm run dev
To view the launched website open http://localhost:8080 on the browser
_____________________________________________________________________
_____________________________________________________________________
____________________
Snapshot
kleber-tc
node dgad-mongo-restore-cli -p lab-kleber-tc -u mongodb://localhost:27017/kleber-
tc -e preprod -c always -r https://mongo-snapshot.apps.dgadteamdev.com -a
dgad:KtzDMbVpvgB6BKdfvZb3QpGPrSlW88zm
uniroyaltires
node dgad-mongo-restore-cli -p lab-uniroyaltires -u
mongodb://localhost:27017/uniroyaltires -e preprod -c always -r https://mongo-
snapshot.apps.dgadteamdev.com -a dgad:KtzDMbVpvgB6BKdfvZb3QpGPrSlW88zm
bfg-trucks
node dgad-mongo-restore-cli -p lab-bfg-trucks -u mongodb://localhost:27017/bfg-
trucks -e preprod -c always -r https://mongo-snapshot.apps.dgadteamdev.com -a
dgad:KtzDMbVpvgB6BKdfvZb3QpGPrSlW88zm
tier-3
node dgad-mongo-restore-cli -p lab-tier-3 -u mongodb://localhost:27017/tier-3 -e
preprod -c always -r https://mongo-snapshot.apps.dgadteamdev.com -a
dgad:KtzDMbVpvgB6BKdfvZb3QpGPrSlW88zm
BFGoodrich
Not required. The database is migrated automatically once you do a npm run dev
b2c-experience
node dgad-mongo-restore-cli -p lab-b2c-experience -u
mongodb://localhost:27017/b2c-experience -e preprod -c always -r https://mongo-
snapshot.apps.dgadteamdev.com -a dgad:KtzDMbVpvgB6BKdfvZb3QpGPrSlW88zm
_____________________________________________________________________
_____________________________________________________________________
____________________
_____________________________________________________________________
_____________________________________________________________________
____________________
OR
[git checkout preprod
git fetch
checkout the newly created branch
e.g. git checkout 776-write-a-review-button-enable-for-locales-fr-nl-pl-de
Now verify with git branch if in the desired branch
___________________________________________________________
___________________________________________________________
________________________________________
Launching project
_____________________________________________________________________
_____________________________________________________________________
____________________
Launch links
kleber-tc
Local - http://localhost:8080/ (try http://localhost:8080/login and then use username
‘admin’ and the big pswd for authoring. Try http://nl-nl.localhost:8080/ for locale
specific website)
Review - (add local specific prefix like ‘en-gb-‘ before the link i.e. before ‘review-
lab-‘…etc)
English https://en-gb-review-lab-kleber-protaz.review.dgadteamdev.com/master
Netherland https://nl-nl-review-lab-kleber-protaz.review.dgadteamdev.com/master
France https://fr-fr-review-lab-kleber-protaz.review.dgadteamdev.com/master
Spain https://es-es-review-lab-kleber-protaz.review.dgadteamdev.com/master
Pre-Production -
UK https://en-gb-lab-kleber-tc.preprod.dgadteamdev.com/
Spain https://es-es-lab-kleber-tc.preprod.dgadteamdev.com/
Netherland https://nl-nl-lab-kleber-tc.preprod.dgadteamdev.com/
France https://fr-fr-lab-kleber-tc.preprod.dgadteamdev.com/
Production -
English https://www.kleber-tyres.com/
Netherland https://www.kleber.nl/
France https://www.kleber.fr/
Spain https://www.kleber.es/
DE https://www.kleber.de/
TR https://www.kleber.tr/
PL https://www.kleber.pl/
uniroyaltires
Local - http://en-ca.localhost:8080/
Pre-Production -
United States https://en-us-uniroyaltires.preprod.dgadteamdev.com/
Production -
Canada https://www.uniroyal.ca/
Canada https://www.fr.uniroyal.ca/
United States https://www.uniroyaltires.com/
Mexico https://www.uniroyal.com.mx/
Review - https://en-ca-review-lab-uniroy-g6h966.review.dgadteamdev.com (for
example)
bfg-trucks
Local - http://localhost:8080/
Review -
Pre-Production - https://en-uk-bfg-trucks.preprod.dgadteamdev.com/
Production -
Australia https://truck.bfgoodrich.com.au/
UK https://truck.bfgoodrich.co.uk/
Russia https://truck.bfgoodrich.ru/
Germany https://lkw.bfgoodrich.de/
Italy https://autocarro.bfgoodrich.it/
Spain https://camion.bfgoodrich.es/
France https://camion.bfgoodrich.fr/
tier-3
Local - http://localhost:8080/
BFGoodrich
Local - http://en-gb.localhost:8080/
Staging - https://en-gb-lab-bfgoodrich-com.staging.dgadteamdev.com/
Pre-Production -
United States
Production -
Canada
Review -
_____________________________________________________________________
_____________________________________________________________________
____________________
username: dgad
password: KtzDMbVpvgB6BKdfvZb3QpGPrSlW88zm
_____________________________________________________________________
_____________________________________________________________________
____________________
_____________________________________________________________________
_____________________________________________________________________
____________________
Resolve "Dealer Locator Config - Filter Section -> Front End Changes"
https://git.dgadteamdev.com/lab/uniroyaltires/merge_requests/230
Need 2 FE approvals @Ketan Bhate and @Rahul Gevaria
_____________________________________________________________________
_____________________________________________________________________
____________________
Zeplin Credentials
Username: Aposdevteam
Password: #b:dREG{j4rP;g
_____________________________________________________________________
_____________________________________________________________________
____________________
swati.bathla@michelin.com
Michelin1324
_____________________________________________________________________
_____________________________________________________________________
____________________