EPLStudents website recensing all major projects built by the community of students at EPL.
It has been built using Rocket.rs and Maud.
To start the webserver, run:
cargo run
To export a static site, run:
sh gen_static.sh
It's a bit of a hacky script, so you may have to run it a couple times before it works.
Because GitHub Pages (annoyingly) does not allow us a wide range of options for selecting which directory to deploy our website from, we must use this trick.
The gist of it is that we create a subtree of static
and then push it to the gh-pages
branch:
git push origin $(git subtree split --prefix static):gh-pages -f
A huge part of this code base has been heavily inspired by obiwac's beautiful personal website.