Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 1.27 KB

README.md

File metadata and controls

69 lines (45 loc) · 1.27 KB

Eledock

Eledock is simple local development stack optimized for Laravel and Symfony.

Quickstart

Create new directory which will contain all your projects. To follow default settings execute these commands:

cd ..
mkdir www

Create .env file from env-example

cp env-example .env

Start services

Create .services file from services-example.

cp services-example .services

Each service defined will be started when you launch script:

./eledock start

If you have temporary additional service to start just add it as an argument

./eledock start redis redis-webui

Stop services

./eledock stop

Enter container

When entering PHP container you must specify the PHP version.

./eledock enter php 82

Node.js use FNM to manage multiple versions so there is only one container.

./eledock eneter nodejs

Troubleshooting

Cypress won't open

Node.js container is trying to invoke X11 server. To enable it on Linux run command suggested from this Github issue:

xhost +local:

MacOS users should follow guide from Cypress blog.