Stenope Skeleton
This skeleton is an opinionated starter kit for creating your static website with Stenope.
It contains a few features to get you started if you plan to create a content website from scratch along with the following stack:
- Symfony 6.1
- Webpack Encore
- Sass
- Lint / CS (php-cs-fixer, phpstan, eslint, …)
- Glide integration for images resizing
- and more…
Create a new project
Start a new app from scratch using this skeleton with:
composer create-project stenope/skeleton -s dev
Prerequisites
Either:
- Node 16+,
- PHP 8.1+
- Symfony CLI
- Composer
- Make
Setup
Install the dependencies using
make install
Dev
Start a server using
make serve
The Symfony CLI exposes you the URL at which the site is available.
Note
make serve
is enough to serve both PHP app and assets.
You're ready to dev!
Build
Assets
make build.assets
Content
make build.content
Assets+Content
Build the whole static site from source, with assets:
make build.static
Serve the static version using:
make serve.static
Going further
Learn more about this skeleton by browsing its content.