/hackerspace.sg

Hackerspace.sg 2.0 using Punch

Primary LanguageHTML

Hackerspace.SG Website Build Status

Hackerspace.SG is Singapore's very own Hackerspace.

There are hundreds of such hackerspaces around the world, where people with common interests in computers, technology, science, digital and electronic art, come together to meet, socialise and collaborate.

Built by and for geeks, nerds, inventors, engineers, and entrepreneurs, Hackerspace.SG is the Singapore hacker community's home, living room and laboratory. Come hang out with the community in the evenings. Co-work with us during the day. We also host regular events, meetups, presentations, workshops, and movie nights for the local community.

Managing content

Setup

  1. Sign up for a GitHub account
  2. Create a fork of the repository (doc)
  3. You may edit files via the web-based GitHub editor, with a desktop client, or with the command-line interface

GitHub has awesome documentation.

Adding and editing content

Hackerspace.SG prefers the fork and pull model of collaboration. Content is stored in the /contents directory, in Markdown files.

All new commits should first be pushed to your own fork of the repository, and then requested to be merged via a pull request. Read about the workflow.

Pull requests merge one particular branch with another. If you're editing multiple aspects of the website at once, please create multiple branches, and file separate pull requests for each individual aspect.

We use Punch as our content management system.

Testing the site locally

Node.js v6/7 is required (you may need a Node.js version manager). Punch is installable via the Node.js package manager:

$ npm test
$ npm start # this will start the server at http://localhost:9009

No httpd is required!

Once your changes look good, push to your fork and create a pull request.

The site gets updated automatically

The GitHub repository is configured with a WebHook URL: http://punch-hook.beta.hackerspace.sg/

Calendar API

https://www.google.com/calendar/ical/mengwong%40hackerspace.sg/public/basic.ics