blob: 957ea07cc1f85eaf567ce4cf53fe0cd4fc760e02 [file] [log] [blame]
#!/bin/bash
cd conf/
. app.conf
echo $SC_HOST_IP
echo $SC_HOST_PORT
echo $SC_HOST_MODE
cd ../
sed -i '/ip/c\ip:"'$SC_HOST_MODE'://'$SC_HOST_IP'",' ./app/apiList/apiList.js
sed -i '/port/c\port:"'$SC_HOST_PORT'"' ./app/apiList/apiList.js
./scfrontend > start-sc-frontend.log 2>&1 &