This is the documentation for Kappa Theta Tau's main website.
- Cloning
- Pushing Changes
- Updating Contacts
- Updating Brothers
- Development _ System Preparation _ Local Installation _ Usage _ Deploy
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://forms.gle/PsYvMq74Y2J73mUo6).
$ python scripts/update_data.py
- Ruby 2.3.6
- NodeJS 6.17.1
- 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
nvm use
. - Inside the directory, run
npm install
. - Inside the directory, run
bundle 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
- Current Web Chair: Jeff Taylor-Chang · thetatauwebchair@gmail.com
- Previous Web Chair: Dylan Huang · dylan.p.huang@gmail.com