Old Budget Site Archive
This is the Old Budget Site Archive project for the Franklin & Marshall College Club Council. The project is built with Gatsby and is both rendered as PDFs and is ready to be hosted.
The Old Budget Site Archive project was an initiative of Club Council during the 2022-2023 Academic Year.
Prerequisites
- Node.js 18 or higher; see Node.js for installation instructions.
- use
nvm
to install Node.js is highly recommended. After installingnvm
, runnvm use
to install the correct version of Node.js.
- use
- A valid Club Council "Old Budget Side" dump file, imported to a MySQL database.
- The dump file is available from the Club Council's Google Drive.
- The database should be named
clubcouncilold
. - Afterwards, change the
host
,user
, andpassword
fields ingatsby-config.js
to match your database's credentials. - The database should be accessible from the machine you are running the project on.
Setup
- Clone the repository
- Run
npm install
to install dependencies - Run
npm run develop
to start the development server
Deployment
- Run
npm run render
to both build the site and render the PDFs. Please do not keep the development server running while building the site as it will cause the build to fail (due to Gatsby's caching issues).
License
This project is licensed under the 0BSD license. See the LICENSE file for details.