A gallery for RIT's Computer Science House, made to replace an instance of Gallery 2. CSH Members can read more about it on our internal wiki page. CSH Gallery is built using Flask, and hosted on our OpenShift Origin cluster. It allows for uploading of many different common filetypes, and is easily extensible for any new ones that members may want to upload in the future.
CSH Gallery is an internal site, and thus not public-facing, however below are some screenshots showing how the site looks and works.
View Text File:
Installation on Openshift Origin
CSH Gallery is designed with Openshift Origin in mind as the hosting platform. Below are a series of instructions needed in order to get CSH Gallery running on an Openshift Origin cluster.
Create a new Python3.5 Source to Image Openshift Project
Point Openshift towards your forked CSH Gallery Repository and setup build hooks and routing as you see appropriate
Under the builds menu select your BuildConfig and then go to Actions -> Edit Build Configuration
a. Under Image Configuration please change Build From to "Docker Image" b. Under Image Configuration please change Docker Image Repository to "liammiddlebrook/s2i-python-container"
Under the Deployments menu select your DeploymentConfig and then go to the Environment section
a. Enter in your OIDC provider information as follows:
GALLERY_OIDC_CLIENT_SECRET = $yourOIDCclientSecret GALLERY_OIDC_ISSUER = $yourOIDCissuerURI
b. Enter in your hosting and route information as follows:
GALLERY_PORT = $thePortExposedByYourRoute GALLERY_SERVER_NAME = $theDNSRecordForAccessingYourGalleryInstance
c. Enter in your ldap bind information as follows:
GALLERY_LDAP_BIND_PW = $ldapBindPassword
d. Enter in your database credential string as follows:
GALLERY_DATABASE_URI = $yourSQLAlchemyConnectionString
e. Enter in your S3 credentials as follows:
GALLERY_S3_ACCESS_ID = $s3AccessID GALLERY_S3_BUCKET_ID = $s3BucketID GALLERY_S3_SECRET_KEY = $s3SecretKey