Git Product home page Git Product logo

nau-maintenance-site's Introduction

Maintenance NAU site

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.

Update site

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.

Verify site

To check the current maintenance page open:

Environment Proxy Link Bucket Link
DEV https://shared.static.dev.nau.fccn.pt/maintenance-site/index.html https://rgw.nau.fccn.pt/nau-dev-shared/maintenance-site/index.html
STAGE https://shared.static.stage.nau.fccn.pt/maintenance-site/index.html https://rgw.nau.fccn.pt/nau-stage-shared/maintenance-site/index.html
PROD https://shared.static.prod.nau.fccn.pt/maintenance-site/index.html https://rgw.nau.fccn.pt/nau-prod-shared/maintenance-site/index.html

nau-maintenance-site's People

Contributors

igobranco avatar sandroscosta avatar

Watchers

 avatar James Cloos avatar Fabricio avatar Rui Martins avatar Jhony Avella avatar Caio Nakai avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.