Server update process

From Apoyar Wiki
Jump to navigation Jump to search

RESTARTING SERVERS


systemctl restart php7.0-fpm

systemctl restart nginx


DEV Server updates

Push to dev-server branch on GitLab and it would be automatically updated to DEV server.

$config['base_url'] = 'http://returns.dev.apoyar.eu/';

define('API_BASE_URL_BE', 'http://returns.dev.apoyar.eu/');

define('API_BASE_URL_FE', 'http://returns.dev.apoyar.eu/');


UAT Server updates

Push to uat-server branch on GitLab and it would be automatically updated to UAT server.

$config['base_url'] = 'http://uat.bleckmann.apoyar.eu/';

define('API_BASE_URL_BE', 'http://api.bleckmann.apoyar.eu//');

define('API_BASE_URL_FE', 'http://api.bleckmann.apoyar.eu/');


LIVE SERVER

1. connect to vpn

2. Login to Jupiter.apoyar.net with credentials username : APOYAR\administrator, password: W3R@P0y@R!

3. Login to putty with the credentials mentioned in Bleckmann servers text file on desktop.

4. After being logged in to Putty, Please run the below commands

cd /var/www/html

git pull https://github.com/Apoyar/bleckman-front-end.git development

In case of any conflicts, please run "git checkout ." to ensure the local changes are ignored.


Please ensure the changes in config files

In config.php

$config['base_url'] = 'http://returns.bleckmann.com';

In constants.php

//PROJECT CONSTANTS

define('API_BASE_URL_BE', 'http://returnsapi.bleckmann.com/BMAPI/BleckmannApi/');

define('API_BASE_URL_FE', 'http://returnsapi.bleckmann.com:81/BMAPI/BleckmannApi/');

define('SECURE_APOYAR_URL', 'returns.bleckmann.com');


The above process for live server update is valid till we have automatic updates to live through Gitlab.


Live Login Details

admin / bl5ckm5nn2017

superdry / Superdryreturns2017!

apoyar / Ap0yar!

sriram_wh/P@ssword123

WHOperator1/P@ssword123


UAT login details


customer superuser : tr1 / P@ssword123

===============================[edit]

https://login.newrelic.com/login

Emails : support@apoyar.net

Password : kz1nv0g0n

=================================[edit]

ORACLE DB access on KIRK

C:\Users\Administrator\Downloads\sqldeveloper-4.1.5.21.78-x64 (2)\sqldeveloper