Table of contents

Quick Start

Create a Cecil website with the default skeleton.

Step 1: Install

Download cecil.phar from your terminal:

curl -SOL

You can also download it manually from the website.

Note: PHP 7.1+ is required.

Step 2: Create a new website

php cecil.phar newsite <mywebsite>

Step 3: Add content

php cecil.phar new blog/

Now you can edit the newly created content file if you want: <mywebsite>/content/blog/

Step 4: Serve the website

To build and serve the website, just run the following command from the root of your project:

php cecil.phar serve -d

serve command 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.

Suggest a modification Next