Skip to content

Commit 63984b7

Browse files
committed
updated readme
1 parent dcccc41 commit 63984b7

File tree

9 files changed

+25
-123
lines changed

9 files changed

+25
-123
lines changed

Diff for: CONTRIBUTING.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Each release version has its own branch. Once that version is released, the bran
66

77
When submitting pull requests, the pull request should be made to the version you are targetting, assuming it is not already released.
88

9+
## Conventions
10+
11+
This code base is currently using PHP version 7.4. All files are required to be linted with PSR-12 standard. This repository will automatically check PRs for linting compliance.
12+
913
## Development Environment
1014

1115
### Setting up your Environment

Diff for: README.md

+20-21
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
![alt text](https://user-images.githubusercontent.com/40907639/137608695-2d914da2-1ecc-480b-a47e-a9e33b2b1b45.png)
22

3-
## Unity Cluster Web Portal ##
4-
5-
### Installation ###
3+
# Unity Web Portal
4+
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:
5+
* Automation of LDAP object/user creation with SSH public key configurations
6+
* Custom user group creation in LDAP
7+
* Cluster notices
8+
* Content Management
9+
* Modularity for external websites
10+
* Automatic emails to admins/emails
11+
* Robust branding customization
12+
* Custom user options
13+
* Featured admin panel
14+
* Many more features, and more to come!
15+
16+
## Installation/Deployment
617
1. Web server prerequisites
718
1. Accessible OpenLDAP server
819
1. Accessible MySQL / MariaDB server
@@ -14,24 +25,12 @@
1425
1. Composer packages
1526
1. `cd` to this repository
1627
1. Install packages `composer update`
17-
1. Setup config file `resources/config.ini` according to site
28+
1. Setup config file `config/config.ini` according to your site deployment
1829
1. Point your web server's document root to `webroot` in this repo
1930

20-
### Directory Structure ###
21-
* `/webroot` - Public root of the website (http document root)
22-
* `/resources` - Private directory containing php files not necessary to be public.
23-
24-
The unity/webroot directory should be the **only** publicly accessible location (DocumentRoot in htdocs). The resources directory contains many php scripts that are referenced absolutely in the config.
25-
26-
### Server Setup ###
27-
This website has a public and private interface. The private interface is authenticated using a shibboleth SP. The following files/directories must be behind a shibboleth SP (configured through apache).
28-
* `/panel`
29-
* `/admin` for admins only
30-
31-
### Contributing ###
32-
33-
First, fork this repo, then see the readme in `tools/docker-dev/README.md` to see how to set up a dev environment on your local machine from your fork.
34-
35-
Branch names correspond to version numbers. All commits should be merged via PRs to the version branches during development. Once a version is released the branch cannot be updated.
31+
The 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.
3632

37-
Be sure to update `CHANGELOG` with any changes by version.
33+
## Web Server Setup
34+
External to this codebase, you must configure authentication using your web server. You must retrict the following:
35+
* `/panel` - users who are signed in
36+
* `/admin` - admins who are signed in

Diff for: config/branding/config.ini

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "Unity Cluster" ; Name of the website
33
url = "https://unity.rc.umass.edu/" ; URL of the website
44
description = "The Unity Cluster is a shared High-Performance-Computing cluster maintained by UMass Amherst, University of Rhode Island, and UMass Dartmouth" ; Description of the website
5+
logo = "logo.png"
56

67
[colors]
78
light_background = "#ffffff" ; Background color when in light mode

Diff for: tools/config_generator.sh

-92
This file was deleted.

Diff for: webroot/css/navbar.css

-10
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,3 @@ header>button.hamburger>img {
118118
margin-left: 250px;
119119
}
120120
}
121-
122-
/* Only show MGHPCC overlay image if height and width support it */
123-
124-
@media only screen and (min-width: 1001px) and (min-height: 1000px) {
125-
nav.mainNav {
126-
background: url("/res/mghpcc-image.png"), var(--accent);
127-
background-position: center bottom;
128-
background-repeat: no-repeat;
129-
}
130-
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: webroot/res/mghpcc-image.png

-383 KB
Binary file not shown.

0 commit comments

Comments
 (0)