Unity Web Portal is a PHP application built in top of MariaDB and LDAP which acts as a central user portal for high-performance-computing clusters. Features include:
apt install composer
on Ubuntu)php-ldap
php-curl
php-redis
php-cli
php-mysql
php-pdo
cd
to this repositorycomposer update
config/config.ini
according to your site deploymentconfig/branding/config.ini
according to your site deploymentwebroot
in this repoThe scope of this project ends at being responsible for the LDAP user database. We recommend production deployments to set up scripts which detect changes in LDAP and then perform further actions. For example, a script can be used to create Slurm scheduler accounting roles based on the LDAP information created by this website.
External to this codebase, you must configure authentication using your web server. You must retrict the following:
/panel
- users who are signed in/admin
- admins who are signed inThe update process is similar to the installation process:
config
webroot/assets/footer_logos
We recommend a deployment where each version of the portal is its own clone, then just change a symlink to point to the new version. This way a rollback is much easier.
Example folder structure, where ->
indicates a symlink:
unity-web-portal
unity-web-portal -> unity-web-portal-1.1.0
unity-web-portal-1.0.0-RC1
unity-web-portal-1.0.0-RC2
unity-web-portal-1.1.0
Below you will find specific instructions for moving between version:
config/branding/config.ini.default
has some new fields that will need to be overriden by the site config if needed:
pi_approve*
in the mail
sectionhome
in the page
sectionloginshell
sectionhome
content management row