Skip to content

ualibraries/ual-libcal

Repository files navigation

University of Arizona Libraries LibCal Customizations

Build Status JavaScript Style Guide Dependencies

Screenshot

Getting started

Install the dependencies: npm install

Build the project for production with npm run build:prod

Deploying

The contents of the build directory are served from an Amazon S3 bucket named ualibr-libcal-assets.

You can deploy the project by running npm run deploy. You might need to specify an AWS profile like this: npm run deploy -- --profile=profilename.

Scripts

You can build the project with Webpack by running npm run build:prod (builds for production) or npm run build:dev (builds for development).

This project uses JavaScript Standard Style. Test it by running npm test.

LibCal settings

In the LibCal dashboard, go to 'Admin' -> 'Look & Feel'.

Paste the following code into 'Code Customizations' field.

<script type="text/javascript" src="https://ualibr-libcal-assets.s3-us-west-2.amazonaws.com/bundle.js"></script>

Local testing

Start a local static webserver by running npm run serve. You will then be provided with a script tag which you can paste into the LibCal's 'Code Customizations' field. The bundle.js file will be served from your local disk.

Learn more

About

University of Arizona Libraries LibCal Customizations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published