The website for HackTJ 2016, held on Feburary 5th-6th, 2016.
npm install
- Optionally, install the livereload extension for your browser to automatically reload the page when you change a file.
We use SCSS as a CSS pre-processor, and all the code can be found in scss/
We also use Jade instead of HTML; the main site is all in jade/index.jade
. The other pages are various ones we used for RSVPs and uploading files, which might be useful in the future depending on your registration and RSVP needs.
Javascript is all in js/
, which is compiled into larger JS files the browser loads. Dependencies of each file are marked in underscores – __
files are concatenated first, then _
files, then the main file.
This project uses gulp to compile and deploy the site, and all the gulp commands can be found in gulpfile.js
. Basic commands you'll need are:
-
gulp watch
: starts a server on port 8000 (or the port specified by--port
) and watches files for changes, compiling them on the fly. -
gulp compile
: compiles all files to theout/
directory but doesn't watch for changes or start a server -
gulp [type]
where type isjs
,css
,html
, orstatic
: compiles all files of given type -
gulp deploy-event
: pushes to the gh-pages branch of this repository and deploys the site to hacktj.org/201x -
gulp deploy-homepage
: pushes to the hacktj.github.io repo and deploys the site to hacktj.org -
gulp deploy-all
: shortcut for bothgulp deploy event
andgulp deploy homepage
For next year's hackathon, you need to fork this repo and rename the copy to 2017 - that way it will be displayed on our website at hacktj.org/2017 while leaving the old website up at hacktj.org/2016