Create a Cecil website with the default skeleton.
cecil.phar from your terminal:
curl -SOL https://cecil.app/cecil.phar
You can also download it manually from the website.
Note: 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 -d
Suggest a modification Next
servecommand run a local HTTP server and a watcher: if a file (page, layout or config) is modified, the browser current page is reloaded.
-doption is used to include drafts.