Show directories of plots on a CERN EOS webpage with some interactive features
Taken from simonepigazzini, originally from musella with slight adjustements.
This worked for me, I didn't test this with any other users or sites.
- Create CERN EOS website here. Follow the sections Prerequites and Site Creation Form.
- Go to your site under the Web Services Portal
- Enable "Use .htaccess files"
- Go to the Application Portal Home of CERN:
- Click the green edit button
- Click the orange edit button "Edit role details" and check if the "This role applies to all authenticated users" is not checked. Clock submit or go back.
- Click the green button "Assign role to groups" and link a group that you want to give access to e.g.
atlas-active-members
so only people from ATLAS can access it.
- Installation:
cd your-eos-directory # in my case www
mkdir top-level-plotting-folder # in my case ditau
cd top-level-plotting-folder
git clone --recursive https://gitlab.cern.ch/muellerr/php-plots.git
- Adjust the line
DirectoryIndex index.php index.html index.htm /ditau/index.php
in the .htaccess file with the path to your index.php file. In the provided .htaccess I pointed to my directorywww/ditau/
wherewww
is my EOS folder created for the website. - Drop any plotting directory in your top-level-plotting-folder