Skip to content

Latest commit

 

History

History
88 lines (60 loc) · 2.5 KB

README.md

File metadata and controls

88 lines (60 loc) · 2.5 KB

UIUC Kappa Theta Tau · Netlify Status

This is the documentation for Kappa Theta Tau's main website.

Table of contents

Cloning

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

Pushing Changes

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!>

Updating Contacts

Contacts are managed by a CSV file located here. To edit the contacts, simply edit this file

$ open _data/contacts.csv

Updating Brothers

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

Development

System Preparation

  1. Ruby 2.3.6
  2. NodeJS 6.17.1
  3. GulpJS - $ npm install -g gulp (mac users may need sudo)

Local Installation

  1. Clone this repo, or download it into a directory of your choice.
  2. Inside the directory, run nvm use.
  3. Inside the directory, run npm install.
  4. Inside the directory, run bundle install.

Usage

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