- Linux or MacOS (Cannot test Windows)
- Docker
- Docker compose
By default, docker will serve any directory local_serving
or any symbolic link
with that name.
Symlink the directory you want to serve to local_serving
You can customize docker-compose.yml
file, section volumes for the php
container in order to select which website you wanna run.
volumes:
- ./local_serving:/var/www/serving_website
to
volumes:
- ./OpenSkedge-lelefan:/var/www/serving_website
will serve openskedge.
In order to run server, you can use the automatized makefile
make build
make start # Start server in background
For debug,
make test
Will clean previous logs, build images, then make system up with live
- http://127.0.0.1:8008/ For browse the website
- http://127.0.0.1:8181/ For browse a PHPMyAdmin of test database
Useful links that help to that project :