twigyard / twigyard

TwigYard is a PHP library to host multiple websites written in the Twig templating language.

Home Page:http://www.twigyard.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TwigYard

TwigYard is a PHP library to host multiple websites written in the twig templating language.

Please refer to the documentation for details.

Pull requests are welcome. Please make sure to write tests and use PSR-2. We use the Robo task runner, so before submitting a pull request please run $ robo test to make sure everything is in order.

Docs

Build:

To build the static site files run:

docker-compose run --rm mkdocs bash -c "sh /root/init-container.sh /workspace && cd docs && su docker-container-user -c 'mkdocs build'"

Dev:

To run the site locally for easy development run:

docker-compose run --rm --service-ports mkdocs bash -c "sh /root/init-container.sh /workspace && cd docs && su docker-container-user -c 'mkdocs serve'"

Site will be accessible at http://localhost:8000

About

TwigYard is a PHP library to host multiple websites written in the Twig templating language.

http://www.twigyard.com

License:MIT License


Languages

Language:PHP 97.9%Language:HTML 1.6%Language:Shell 0.3%Language:Dockerfile 0.1%