Elao / elao_

Elao website & blog
https://www.elao.com
8 stars 11 forks source link
blog elao static-site stenope

elao_

The Elao website.

Prerequisite

Either:

Setup

Local Install

Install the dependencies using

make install

[!Note] You're done! Next: see how to serve the app.

Using Docker

If you want to use the Docker stack, setup the project using: ```shell make up ``` Then, log into the container using ```shell make sh ``` > [!Warning] > When **using Docker**, you must use `make sh` > to log into the container before running any command. And install the dependencies with ```shell make install ```

Dev

Local Install

Start a server using

make serve

The Symfony CLI exposes you the URL at which the site is available.

[!Note] When using a local install, make serve is enough to serve both PHP app and assets.
You're ready to dev!

Using Docker

When using a Docker install, serve the PHP application using: ```shell make up ``` > [!Warning] > The site is now available at http://localhost:8000, but you need to build or serve the assets. For development purposes, start a Webpack dev-server using: ```shell make serve.assets ```

Commands

Build assets

Build the assets once using:

make build.assets

Writing an article

Generate a new article using:

make article

Please, follow the guidelines on how to write an article.

Going further