Skip to content

Elao/elao_

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

make up

Then, log into the container using

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

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:

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:

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