Skip to content

Latest commit

 

History

History
115 lines (76 loc) · 1.76 KB

README.md

File metadata and controls

115 lines (76 loc) · 1.76 KB

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://www.ela.ooo:35080, 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