Git Product home page Git Product logo

hackerspaces.be's Introduction

DEPRECATED

The Git backend has moved to https://gitlab.com/hackerspacesbe/website/ and Hugo static site generation.
Commits in this repo will not be pushed to the hackerspaces.be website.


hackerspaces.be

Git backend for the content of https://hackerspaces.be feel free to fork, and to send me updates. Once I know you're not a spammer, you can get commit rights.

If you just want to add a new space it's easy, look into the hackerspaces.be/content/spaces folder, copy one and fill in your details. Editing an exiting space works the same way. The content is formatted with markdown, tutorial here.

This repo gets synced with the site every hour, so if your pull request has been accepted in the master branch, wait till the hour changes to check the site.

You are encouraged to write scripts, for instance, one that would pull a calender feed into git, and displays it nicely on the page. Or a script that checks twitterfeeds for tags and pushes that info to the repo.

Basic Installation

The main requirement, hyde, requires python 2.7 or above. Python3 and above are not yet supported.

pip install -r requirements.txt

Usage

The only command to execute is hyde gen. The static result will be in deploy/. If you copy it to another location make sure to also copy the media/ directory since it contains the stylesheet and images.

While developping, it may be usefull to use the integrated server with hyde serve -a localhost -p 8000

Or by using Docker (and access it via http://localhost:8080):

docker run -it  -p 8080:8080 -v $(pwd):/code nyxcharon/docker-hyde bash
hyde serve -a <ip of container>

Deployment

The script that's triggered on the server does :

cd ~/hackerspaces.be && git pull
hyde gen
rsync -rtu --delete-delay ~/staticnew/ ~/static/

Wishlist

  • Fancy imageslider on frontpage (every site needs one ;-)
  • Logo's of spaces on the page.

hackerspaces.be's People

Contributors

abcarnage avatar betz avatar c4ptaincrunch avatar drskullster avatar ekatsah avatar fs111 avatar gusttt avatar hansf avatar iliasb avatar iooner avatar janc13 avatar kefcom avatar merlijn-sebrechts avatar procrat avatar redfast00 avatar ruleant avatar sasja avatar warddr avatar zoobab avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.