Welcome and orientation site for the BU libraries, made especially for first year students.
- This is a static website that runs (almost entirely) off of vanilla js/css.
- It pulls in assets from IS&T (fonts, banner styling) and from our Web Components repo
- It also relies on curator.io to pull in our instagram feed. that's currently done through Aidan Sawyer's account ([email protected]).
You can effectively develop on this site without running anything and just by
opening index.html
in your browser.
$ git clone https://github.com/bulib/firstyear.git
$ cd firstyear
$ open index.html
If you want a better development experience (that auto-updates whenever you save the file),
you'll have to install dependencies and run the start script, then go to localhost:8000
in your browser (could be a different port, it'll say in the terminal).
$ npm install
$ npm run start
-
Staging is located at bulib.github.io/firstyear and is updated automatically (by github) whenever you
git push
to themaster
branch (or merge a PR) -
Production is visible at bu.edu/library/firstyear and is published by raw upload to the ftp server managed by IS&T at
webdev.bu.edu
at the path/web/l/i/library/firstyear/
. this is automated with help of thedeploy.sh
script.
NOTE: you'll have to update the user
and dev_path
variables in deploy.sh
to get it to work.