Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Wolnosciowiec-Archive/wolnosciowiec-wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wolnosciowiec-wiki

Build Status

Converts git repository into a website. Currently it generates static websites by compiling to the HTML. The plans are to move forward and allow dynamic rendering of eg. Twig templates with passing the request to the template and allowing to list items with pagination stored in YAML files in some directory.

screenshot

/*
 * Wolnościowiec / ContentCompilerBundle
 * -------------------------------------
 *
 *   Converts git repository into a website.
 *   A part of an anarchist portal - wolnosciowiec.net
 *
 *   Wolnościowiec is a project to integrate the movement
 *   of people who strive to build a society based on
 *   solidarity, freedom, equality with a respect for
 *   individual and cooperation of each other.
 *
 *   We support human rights, animal rights, feminism,
 *   anti-capitalism (taking over the production by workers),
 *   anti-racism, and internationalism. We negate
 *   the political fight and politicians at all.
 *
 *   http://wolnosciowiec.net/
 *
 *   License: LGPLv3
 */

How it works?

  1. A git push on github is made, then the github notifies the service
  2. The service is compiling source files eg. Markdown to HTML
  3. A website is ready at given address of the service

Which format does it support?

Wolnościowiec Wiki supports all formats that are handled by ContentCompilerBundle including Twig, Markdown and Plain HTML.

Setup

  • Clone the repository.
  • composer install --no-dev
  • Create the app/config/wiki.yml, here is the example structure:
wiki:
    repositories:
        anarchifaq:
            address: "https://github.com/Wolnosciowiec/anarchi-faq-pl"
            branch:  "master"
            fetcher: "git"
  • Configure and start the webserver For development use php bin/console server:start and point your browser to the http://localhost:8000