The MathSoc web development team is rebuilding the MathSoc website to transition away from the current WordPress implementation. We seek to rebuild the frontend while also building our own custom content management system (CMS), to allow for greater site quality, developer and admin maintainability, and site customizability going forward.
Our stack is
pugas a templating engine to generate pagesExpressas our web serverJSONfiles to hold data. We prefer this to an SQL server in the interest of long-term maintainability.SCSSstylesheets to style web content.PrettierandESLintto enforce style.
We always accept contributions from current University of Waterloo students. Those interested in a more active role should consider applying to join MathSoc's web development team; applications open near the beginning of term.
- Clone the repository in the directory of your choice
- Run this command with git in whichever directory you want to download in:
git clone https://github.com/MathSoc/mathsoc-website.git
- Run this command with git in whichever directory you want to download in:
- Then, cd into the directory with
cd mathsoc-website, and runnpm install. - The run scripts are defined in
package.json, but runnpm run devto start a development server with nodemon. This will start the server onhttp://localhost:3000. - Go to
https://localhost:3000on your browswer, and you should see the tester page!
- Install the latest version of docker.
- Run
npm run dockerize - Go to
https://localhost:3000on your browswer, and you should see the home page!