Create a website with the default skeleton.
cecil.phar from your terminal:
curl -SOL https://cecil.app/cecil.phar
You can also download Cecil manually from the website.
PHP 7.1+ is required.
php cecil.phar newsite <mywebsite>
php cecil.phar new blog/my-first-post.md
Now you can edit the newly created content file if you want:
To build and serve the website, just run the following command from the root of your project:
php cecil.phar serve --drafts
servecommand run a local HTTP server and a watcher: if a file (a page, a template or the config) is modified, the browser current page is reloaded.
--draftsoption is used to include drafts.