GithubHelp home page GithubHelp logo

stagen's Introduction

WizTools.org StaGen

StaGen is the static site generator behind WizTools.org.

StaGen is written in Java 8, and supports:

Read the tutorial.

Extensible

At the core of StaGen engine, Guice is used for wiring the implementations with the interfaces. StaGen can be easily extended to support any new format.

Deliberately Minimalist (meaning: simple to learn!)

This static site generator was developed for maintaining a site like WizTools.org. This is best suited for sites that have few pages generated out of few templates. We do not support themes or blog-like-static-pages. Of course, by nature of flexibility of StaGen, support for themes and blogs can be easily hacked into a StaGen site.

Read the tutorial to get started.

Build

To build (requires Java 8 and Maven 3, or above versions):

$ mvn package

In the target directory you will find the executable Jar stagen-VER-full.jar.

Running

Encourage first-time visitors to read the tutorial. This will help in understanding the conventions used by StaGen.

In the command-prompt, to create a new template project structure (current direcory must be empty to create new project!):

$ java -jar ~/stagen-VER-full.jar init

To build the project:

$ java -jar ~/stagen-VER-full.jar gen

This command will generate the site under target directory.

To run the project using the embedded Jetty server:

$ java -jar ~/stagen-VER-full.jar run

The run command also monitors project directory for changes, and builds automatically when a change is detected. Press Ctrl+C to quit.

To delete the target directory:

$ java -jar ~/stagen-VER-full.jar clean

To view cli options:

$ java -jar ~/stagen-VER-full.jar -h

stagen's People

Contributors

subwiz avatar

Watchers

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