yuanchenyang / mitsss-website-static

Statically generated website for MITSSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup instructions on Athena (first build)

Clone website:

$ cd /mit/mitsss
$ git clone https://github.com/yuanchenyang/mitsss-website-static.git
$ cd mitsss-website-static

Set up virtualenv:

$ python3 -m venv env
$ source env/bin/activate

Install dependencies:

$ pip3 install -r requirements.txt

Build website:

$ make html

Set up permissions for output directory (See here for documentation on AFS locker permissions):

$ add consult
$ fsr sa output system:anyuser rl
$ cd /mit/mitsss
$ ln -s mitsss-website-static/output/ www
$ fs sa www system:anyuser rl

To rebuild after pushing new changes to github

$ cd /mit/mitsss/mitsss-website-static
$ git pull
$ source env/bin/activate
$ make html

About

Statically generated website for MITSSS


Languages

Language:Python 27.8%Language:CSS 27.4%Language:Makefile 19.4%Language:HTML 15.5%Language:Shell 9.9%