This is the documentation for Kappa Theta Tau's main website.
To clone this repo, simply git clone and cd into it.
$ git clone https://github.com/KappaThetaTau/kappathetatau.github.io.git & cd kappathetatai.github.io
We are using github-pages to automatically compile and host our website. This means that to update the website, you simply need to push changes to your own branch and make a pull request on Github.
$ git checkout -b <new branch name>
...
<work on the website>
...
$ git add <whatever changes you made>
$ git commit -m "<meaningful commit message"
$ git push origin <new branch name>
<go make your pull request!>
Contacts are managed by a CSV file located here. To edit the contacts, simply edit this file
$ open _data/contacts.csv
To update the brothers page we use a python script to pull the brother information and images from a google form CSV (https://goo.gl/forms/3MO7V2pyr4457p9h2).
$ python scripts/update_data.py
- Jekyll -
$ gem install jekyll
- NodeJS - use the installer.
- GulpJS -
$ npm install -g gulp
(mac users may need sudo)
- Clone this repo, or download it into a directory of your choice.
- Inside the directory, run
npm install
.
development mode
This will give you file watching, browser synchronisation, auto-rebuild, CSS injecting etc etc.
$ gulp
jekyll
As this is just a Jekyll project, you can use any of the commands listed in their docs
Contact Dylan Huang at dylan.p.huang@gmail.com if you need any help updating or developing the website.