Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sigwinhq/yassg
Yet Another Static Site Generator
https://github.com/sigwinhq/yassg
php static-site-generator symfony symfony-application
Last synced: 10 days ago
JSON representation
Yet Another Static Site Generator
- Host: GitHub
- URL: https://github.com/sigwinhq/yassg
- Owner: sigwinhq
- License: mit
- Created: 2021-12-30T12:03:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T13:32:04.000Z (5 months ago)
- Last Synced: 2024-06-25T13:48:21.453Z (5 months ago)
- Topics: php, static-site-generator, symfony, symfony-application
- Language: PHP
- Homepage:
- Size: 915 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yet Another Static Site Generator
Start building a static site powered by [Twig](https://twig.symfony.com/) and [Encore](https://symfony.com/doc/current/frontend.html).
Use a YAML database to organize routes and data.
## Get started
1. create an empty folder
```shell
mkdir yassg-test && cd yassg-test
```2. require the package
```shell
composer require sigwin/yassg
```3. init the project
```shell
vendor/sigwin/yassg/bin/yassg yassg:init
```4. run a dev server:
```shell
make start/dev
```## Build the site
Pass the base URL to build
```shell
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`.## Pages CI setup
Includes Gitlab CI / Gitlab Pages setup.