-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.sh
executable file
·36 lines (24 loc) · 2.15 KB
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mkdir -p /opt/dirac/pro/BESDIRAC/FrameworkSystem/DB
mkdir -p /opt/dirac/pro/BESDIRAC/FrameworkSystem/Agent/sam_tests
mkdir -p /opt/dirac/pro/BESDIRAC/FrameworkSystem/Service
mkdir -p /opt/dirac/pro/BESDIRAC/FrameworkSystem/Client
cp BESDIRAC/FrameworkSystem/DB/SAMDB.py /opt/dirac/pro/BESDIRAC/FrameworkSystem/DB/.
cp BESDIRAC/FrameworkSystem/DB/SAMDB.sql /opt/dirac/pro/BESDIRAC/FrameworkSystem/DB/.
cp BESDIRAC/FrameworkSystem/DB/GeneralPurposeDB.py /opt/dirac/pro/BESDIRAC/FrameworkSystem/DB/.
cp BESDIRAC/FrameworkSystem/DB/GeneralPurposeDB.sql /opt/dirac/pro/BESDIRAC/FrameworkSystem/DB/.
cp BESDIRAC/FrameworkSystem/Agent/GeneralPurposeAgent.py /opt/dirac/pro/BESDIRAC/FrameworkSystem/Agent/.
cp BESDIRAC/FrameworkSystem/Service/SAMHandler.py /opt/dirac/pro/BESDIRAC/FrameworkSystem/Service/SAMHandler.py
cp BESDIRAC/FrameworkSystem/Client/SAMClient.py /opt/dirac/pro/BESDIRAC/FrameworkSystem/Client/SAMClient.py
cp BESDIRAC/FrameworkSystem/Agent/SAMLauncherAgent.py /opt/dirac/pro/BESDIRAC/FrameworkSystem/Agent/.
cp sam_tests/* /opt/dirac/pro/BESDIRAC/FrameworkSystem/Agent/sam_tests/.
cp WebAppDIRAC/WebApp/handler/SAMHandler.py /opt/dirac/pro/WebAppDIRAC/WebApp/handler/SAMHandler.py
cp -r WebAppDIRAC/WebApp/static/DIRAC/SAM /opt/dirac/pro/WebAppDIRAC/WebApp/static/DIRAC/
cp WebAppDIRAC/WebApp/handler/BusynessMonitorHandler.py /opt/dirac/pro/WebAppDIRAC/WebApp/handler/BusynessMonitorHandler.py
cp -r WebAppDIRAC/WebApp/static/DIRAC/BusynessMonitor /opt/dirac/pro/WebAppDIRAC/WebApp/static/DIRAC/.
cp WebAppDIRAC/WebApp/handler/HostStatHandler.py /opt/dirac/pro/WebAppDIRAC/WebApp/handler/HostStatHandler.py
cp -r WebAppDIRAC/WebApp/static/DIRAC/HostStat /opt/dirac/pro/WebAppDIRAC/WebApp/static/DIRAC/
cp WebAppDIRAC/WebApp/handler/SAMChartsHandler.py /opt/dirac/pro/WebAppDIRAC/WebApp/handler/SAMChartsHandler.py
cp -r WebAppDIRAC/WebApp/static/DIRAC/SAMCharts /opt/dirac/pro/WebAppDIRAC/WebApp/static/DIRAC/
cp WebAppDIRAC/WebApp/handler/GeneralMonitoringViewHandler.py /opt/dirac/pro/WebAppDIRAC/WebApp/handler/GeneralMonitoringViewHandler.py
cp -r WebAppDIRAC/WebApp/static/DIRAC/GeneralMonitoringView /opt/dirac/pro/WebAppDIRAC/WebApp/static/DIRAC/
echo "Modules deployed"