Giter VIP home page Giter VIP logo

fri's Introduction

FRI VSš 2014/15

  • Informacije o predmetih
  • Izpitna vprašanja
  • Izpiski

####WEBPAGE


An implementation of communal web-page using GitHub repository, a GitHub page of the project, few bash scripts and a makefile.

I'm currently using it to publish notes from computer science classes. It consists of pages that get generated by parsing markdown files and adding a universal header to them. Each page has its own directory, with a main markdown file called text.md. The header contains links to the main page and markdown file on GitHub, so anyone with a GitHub account can edit the file.

To update the html pages run make command in projects' root. To create a new subpage run create-course <name> script in scripts directory. It will create a new directory containing a markdown file and it will add a new rule to the makefile. makefile only needs to be edited if we add any subpages to the subpage itself.

Templates directory contains a file called head that defines few CSS properties that get added to all the pages. It also contains a file called index that contains the content of the main page (links to the subpages get generated automatically).

In scripts directory there is also a pre-commit hook that can be linked to .git/hooks directory, in order for git to check if site is up to date before every commit. It will run make command and abort the commit it if is not.

How To Run

$ sudo apt-get install markdown
$ git clone https://github.com/gto76/fri
$ cd fri
$ google-chrome index.html

fri's People

Contributors

gto76 avatar gtotest avatar

Stargazers

 avatar

Watchers

 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.