Browse Source

Version .0.5 2021-06-17 - Beta Release - Testing on Sikuliaq

v0.0.11
John Haverlack 3 years ago
parent
commit
4df44a5506
  1. 4
      index.js
  2. 2
      package-lock.json
  3. 2
      server-setup.sh
  4. 2
      start-server.sh

4
index.js

@ -215,10 +215,12 @@ app.use(function (req, res, next) {
// Starting Express Web Service
app.listen(process['CONFIG']['GLOBAL']['WEBUI_PORT'], function () {
console.log ("Sikuliaq Cyber Asset Manager Server")
console.log (" - Version: " + process['CONFIG']['LOCAL']['PACKAGE']['version'] + ' ' + process['CONFIG']['LOCAL']['PACKAGE']['version_date'])
console.log (" - Version: v" + process['CONFIG']['LOCAL']['PACKAGE']['version'] + ' ' + process['CONFIG']['LOCAL']['PACKAGE']['version_date'])
console.log (" - Copyright (C) 2021 University of Alaska Fairbanks - College of Fisheries and Ocean Sciences - R/V Sikuliaq")
console.log (" - Author: John Haverlack (jehaverlack@alaska.edu)\n")
console.log ("Status: STARTED")
console.log (" Node.JS: v" + process['CONFIG']['LOCAL']['PROC']['VERSIONS']['node'])
for (i in process['CONFIG']['LOCAL']['HOST']['NETWORK']['IP_ADDR']['IPv4']) {
console.log (" WebUI: http://" + process['CONFIG']['LOCAL']['HOST']['NETWORK']['IP_ADDR']['IPv4'][i] + ':' + process['CONFIG']['GLOBAL']['WEBUI_PORT'])
}

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "skq-it-am",
"version": "0.0.4",
"version": "0.0.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
server-setup.sh

@ -57,7 +57,7 @@ done
# Server Version
dist_base_url='https://nodejs.org/dist/latest-v14.x'
node_version='14.17.0'
node_version='14.17.1'
for njs in darwin-x64.tar.gz linux-arm64.tar.xz linux-armv7l.tar.xz linux-x64.tar.xz win-x64.zip win-x86.zip; do
if [ `echo $njs | egrep "$os-$arch"` ]; then

2
start-server.sh

@ -9,7 +9,7 @@ arch=`uname -m | sed -r 's/x86_64/x64/'`
rundir=`echo $0 |sed -r 's/\/start-server\.sh$//'`
#echo $rundir
node_ver='v14.17.0'
node_ver='v14.17.1'
node_path="$rundir/nodejs/node-$node_ver-$os-$arch/bin/node"
npm_path="$rundir/nodejs/node-$node_ver-$os-$arch/bin/npm"
export PATH="$rundir/nodejs/node-$node_ver-$os-$arch/bin:"$PATH

Loading…
Cancel
Save