SOLARIS_Analysis/WebSimHelper
2024-03-20 18:56:49 -04:00
..
files Move EventBuilder to the DAQ code. in progress of the Webbase Simulation code 2024-03-20 18:56:49 -04:00
logos added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
displayIsoData.py added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
EnergyLevelsPlot.js added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
heliosmatics.html Move EventBuilder to the DAQ code. in progress of the Webbase Simulation code 2024-03-20 18:56:49 -04:00
heliosmatics.js added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
index.html added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
instruction.html Move EventBuilder to the DAQ code. in progress of the Webbase Simulation code 2024-03-20 18:56:49 -04:00
isotopeLib.py added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
massProxy.py added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
miscCal.html added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
montecarlo.js Move EventBuilder to the DAQ code. in progress of the Webbase Simulation code 2024-03-20 18:56:49 -04:00
README.md added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00
simpleSim.html added WebSimHelper, need to combine the simpleSim to heliosmatics.html 2024-03-15 16:14:50 -04:00

Introduction

This is a web inteface for the HELIOS/SOLARIS simulation. Its purpose is NOT to replace the Simulation_Helper.C in the origin digios repository. It is simply provide a more easy accessible way to do simulation.

Installation in Apache2

Assume the parant SOLARIS_ANALYSIS is in the home folder add a symbolic link

$cd /var/www/html
$ln -s ~/SOLARIS_ANALYSIS SOLARIS 

I want localhost/SOLARIS map to /var/www/html/SOLARIS/WebSimHelper, in the apache config

$cd /etc/apache2/sit-available
$touch SOLARIS.conf

inside SOLARIS.conf

<VirtualHost *:80>
   ServerAdmin rtang@anl.gov
   DocumentRoot /var/www/html/
   ServerName localhost

   #map localhost/SOLARIS to /var/www/html/SOLARIS/WebSimHelper
   Alias /SOLARIS  /var/www/html/SOLARIS/WebSimHelper

   #set the directory properties
   <Directory /var/www/html/>
      Options Indexes FollowSymLinks 
      AllowOverride None
      Require all granted
      Options +ExecCGI
      AddHandler cgi-script .cgi .py
   </Directory>

   ErrorLog ${APACHE_LOG_DIR}/error.log
   CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

then enable the site

$sudo a2ensite SOLARIS.conf
$sudo systemctl restart apach2.service