2017 © Pedro Peláez
 

project stakx

Yet another static website generator powered by Symfony and Twig

image

stakx/stakx

Yet another static website generator powered by Symfony and Twig

  • Friday, July 27, 2018
  • by allejo
  • Repository
  • 4 Watchers
  • 6 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 6 Open issues
  • 23 Versions
  • 0 % Grown

The README.md

stakx logo, (*1)

*nix build Status Windows build status Code Coverage Scrutinizer Code Quality, (*2)

Stakx is a static website generator built in PHP inspired by Jekyll and Sculpin. Unlike its alternatives, Stakx is distributed as a single executable so you don't need to worry about silly bundle install or composer install commands to build your website., (*3)

Philosophy

Stakx's philosophy is to be treated as a model-view-controller (MVC) setup where Stakx itself is the controller, Twig makes up the views, and your content makes up the models. Following this philosophy will allow you to have truly reusable content making migration to and from Stakx a breeze., (*4)

Building the Sample Project

Stakx provides a sample project for people to learn from. The sample project can be built in one of two ways., (*5)

Download a Release

Get the latest PHAR from the Releases page, download the repository, put the PHAR in the example directory and run the following command from within the example directory:, (*6)

php ./stakx.phar build

Build from Git

Clone the repository, fetch the dependencies, and compile., (*7)

git clone https://github.com/stakx-io/stakx.git
composer install --no-dev
cd example/
php ../bin/stakx build

Locally Serving a Site

Stakx includes a built-in web server, which you can run with the following commands. Access your site at http://0.0.0.0:8000/., (*8)

cd example/
php ../bin/stakx serve

Note that the serve command will only build the requested page, and not the entire site. The serve command is ideal for quick development and testing., (*9)

To build your site for production, use the build command., (*10)

License

MIT, (*11)

The Versions

18/02 2018

0.1.x-dev

0.1.9999999.9999999-dev

Yet another static website generator powered by Symfony and Twig

  Sources   Download

MIT LGPL

The Requires

 

The Development Requires

21/06 2017