3 #cp ../config/config.json.https ../config/config.json
4 export PROJECT_HOME=/opt/onap/sdnc
5 export PROJECT_RUNTIME_BASE=/opt/onap/sdnc
6 #export JAVA_HOME=/usr/lib/jvm/java-7-oracle
7 export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
8 export SSL_ENABLED=false
9 export SDNC_CONFIG_DIR=${PROJECT_HOME}/data/properties
10 export NODE_ENV=production
11 export CLASSPATH=$PROJECT_HOME/admportal/lib:$CLASSPATH
13 PATH=${PATH}:${JAVA_HOME}/bin
15 #. ${PROJECT_HOME}/etc/default.env
17 MAIN_MENU=`python $PROJECT_HOME/admportal/shell/getAdmPortalProp.py MainMenu | sed -e 's|['\'']||g'`
19 SSL_ENABLED=`python $PROJECT_HOME/admportal/shell/getAdmPortalProp.py sslEnabled | sed -e 's|['\'']||g'`
22 if [ ! -d /opt/onap/sdnc/admportal/node_modules ]; then
23 echo "ERROR: missing node modules: /opt/onap/sdnc/admportal/node_modules"
27 cd /opt/onap/sdnc/admportal
29 #if [ "true" == "${SSL_ENABLED}" ]; then
30 #pm2 startOrRestart process.https.json
32 #pm2 startOrRestart process.http.json