Start building a static site powered by Twig and Encore.
Use a YAML database to organize routes and data.
create an empty folder
mkdir yassg-test && cd yassg-test
require the package
composer require sigwin/yassg
init the project
vendor/sigwin/yassg/bin/yassg yassg:init
run a dev server:
make start/dev
Pass the base URL to build
BASE_URL=https://example.com/subdir make build/clean
The output will be in the public/
folder,
the contents of which needs to be deployed to the BASE_URL
.
Includes Gitlab CI / Gitlab Pages setup.