FCBackgroud-OVERHEAD PORTAL

From VentureResearchWiki
Jump to navigation Jump to search

Overhead Portal[edit | edit source]

Hardware Setup[edit | edit source]

Software Setup[edit | edit source]

Python App[edit | edit source]

Steps to install the app:

opkg install subversion python3 python3-modules python3-pyvenv
cd /opt
svn co --force-interactive --username readonly --password secret http://svn.crm.ventureresearch.com/svn/linux/py3apps/overhead_portal
cd /opt/overhead_portal
pyvenv-3.5 --system-site-packages venv
source venv/bin/activate
pip install -r requirements.txt
cp /opt/overhead_portal/overheadportal.service /lib/systemd/system/overheadportal.service
systemctl daemon-reload
systemctl enable overheadportal
systemctl start overheadportal

Steps to monitor the app running status:

journalctl -efu overheadportal

Customer Specific Configuration[edit | edit source]

Second-run script:

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/fcb/vr-OverheadPortal-secondrun.sh -O - | sh

Pre-ship script:

wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/fcb/pre-ship_OverheadPortal.sh -O - | sh