Giter Club home page Giter Club logo

jflex-web's Introduction

JFlex Website

This is the repository for the JFlex web site at http://jflex.de

The web site is generated by Hakyll, mostly based on bootstrap and markdown.

Dependencies

You will need the Haskell compiler ghc, preferably from the Haskell platform, which includes the package manager cabal.

You can then run

cabal install hakyll
cabal install hjsmin

to get the Hakyll web site generator.

Structure

Most of the content is in directory pages in the form of markdown or html files, which have templates and css applied to them to form the website.

The content of files is copied verbatim to the site and contains miscellaneous support files. Javascprit and CSS files are in js and css respectively, and templates contains the template parts, including navigation, header, footer, etc, that make up the site's pages.

Layout should mainly be controlled from css/jflex.css and templates/*.html, content should all be in pages/*.{md|html}.

The build scripts expects the release .tar.gz, .zip, and .sha1 files in release which is not version controlled (supposed to be generated from a tagged release version of the main jflex repo). The docs/ directory is mostly generated from the release files, but is version controlled (should be removed once things are more integrated).

Build

ghc --make site
./site watch

Point your web browser at http://127.0.0.1:8000 to see the local version.

See site --help for further commands. The site watch command should automatically pick up any edits you make in templates and markdown files. If you change site.hs you need to recompile.

Deploy

To deploy, email Gerwin.

License

Creative Commons License
Licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

jflex-web's People

Contributors

lsf37 avatar regisd avatar

Watchers

James Cloos avatar Kefala 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.