Friday, December 8, 2017

Konga Installation

Konga

Installation

Install npm and node.js.

sudo yum install nodejs npm

Install bowergulp and sails packages.

npm install bower gulp sails -g
npm run bower-deps
mkdir -p /opt/konga
cd /opt
git clone https://github.com/pantsel/konga.git
cd konga
npm install
cd config
cp -p local_example.js local.js

if Kong is running on a remote server and/or different default port, the following needs to be changed in local.js

kong_admin_url : process.env.KONG_ADMIN_URL || 'http://127.0.0.1:8001'
To test Kong admin URL is up running and accessible: curl http://127.0.0.1:8001

Running Konga

Development

cd /opt/konga
nohup npm start &
Konga GUI will be available at http://hostname:1338

Production

cd /opt/konga
nohup npm run production &
Konga GUI will be available at http://hostname:1338

No comments: