This repository has the maintenance site of NAU.
This page is shown if there is an application error.
This page is hosted on Ceph S3 Bucket that the applications use when they need to show an error to the user.
Because the maintenance page is something different and out of scope of the applications (Open edX and NAU Richie) that make up NAU, then this repository was created.
Simply run the deploy.sh
file, that updates the maintenance page for all environments.
AWS_ACCESS_KEY_ID=XXXX AWS_SECRET_ACCESS_KEY=YYYY deploy.sh
Or alternatively, for each environment (DEV, STAGE and PROD), replace the access key and secret and the correct bucket name, and run:
AWS_ACCESS_KEY_ID=XXXX AWS_SECRET_ACCESS_KEY=YYYY s3cmd --host rgw.nau.fccn.pt --host-bucket nau-dev-shared put maintenance-site/index.html "s3://nau-dev-shared/maintenance-site/index.html" --acl-public
After a push to master branch the Github Action will update automatically the maintenance page on each environment.
To check the current maintenance page open:
The Kubernetes deployment uses a copy of this maintenance page, instead of using the live version from Ceph S3.