Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 2.21 KB

README.md

File metadata and controls

61 lines (36 loc) · 2.21 KB

Progressive Hack Night

Website for Progressive Hack Night.

Forked from Chi Hack Night

Running locally

This website is built using Jekyll. You will need to install it first.

git clone https://github.com/ProgressiveHackNight/proghacknight.org.git
cd proghacknight.org
jekyll serve -w

Then open your web browser and navigate to http://localhost:4000

Dependencies

  • Jekyll - Static site generator built in Ruby
  • Bootstrap 3 - HTML and CSS layouts
  • DataTables - for searching and sorting tables
  • Mustache - templating library for javascript (used on projects page)
  • jQuery Address - for deep linking URLs on the projects page

To Deploy

From s3_website

1. Generate s3_website.yml:
$ s3_website cfg create
2. Fill out s3_website.yml with s3 credentials:
s3_id: <%= ENV['S3_ID'] %>
s3_secret: <%= ENV['S3_SECRET'] %>
s3_bucket: blog.example.com
3. Run s3_website cfg apply to configure your bucket to function as an S3 website
$ s3_website cfg apply
4. Push the site to s3
$ s3_website push

At any later time when you would like to synchronise your local website with the S3 website, simply run s3_website push again. (It will calculate the difference, update the changed files, upload the new files and delete the obsolete files.)