Skip to content

ualibraries/reformation-arizona-edu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UA Libraries Reformation Events Website - Static Archive

This website is a static version of http://reformation.arizona.edu, preserved for archival purposes.

The domain reformation.arizona.edu has been retired. This content now lives at reformation.library.arizona.edu.

screenshot

Building

This static website was built by running ./build.sh. The build script runs wget:

wget \
  --mirror \
  --page-requisites \
  --continue \
  --convert-links \
  --backup-converted \
  --adjust-extension \
  --directory-prefix=public \
  --no-host-directories \
  --user-agent="Mozilla/5.0" \
  --execute robots=off \
  --span-hosts \
  --domains reformation.arizona.edu,cdn.uadigital.arizona.edu,ajax.googleapis.com \
  http://reformation.arizona.edu

The static website is located in public.

Testing

You can test locally by running ./serve.sh. The script uses PHP to start a webserver at http://localhost:8888.

Verify that it isn't using any resources from reformation.arizona.edu by adding 127.0.0.1 reformation.arizona.edu to your hosts file (/etc/hosts), and seeing if the site at http://localhost:8888 loads correctly.

php -S 127.0.0.1:8888 -t public

Deploying

You can deploy the project by running ./deploy.sh. You might need to specify an AWS profile like this: ./deploy.sh --profile=<profile name>.

deploy.sh uses AWS CLI to deploy to an AWS S3 bucket.

aws s3 sync public s3://reformation.library.arizona.edu --delete

View at http://reformation.library.arizona.edu

Further reading

License

Copyright (C) The Arizona Board of Regents on Behalf of the University of Arizona - All Rights Reserved

Releases

No releases published

Packages

No packages published