d32b5686055453bd94f2a9e1be6a082d31fb1b05
Preorder Sync Script ins Qgis See merge request fronk/thetool!1951
TheTool
Introduction
This Project is a PHP Project.
Table of Contents
Docker Setup
Build fresh image
Build a fresh local docker image with all dependencies. This is based on debian-bookworm and installs apache2, php8.2 & composer with all dependencies
docker build -t debian-php .
Volume Bindings
| Type | Location |
|---|---|
| MySQL Logs | docker/mysql/logs |
| MySQL Config | docker/mysql/conf.d |
| Apache Config | docker/apache2/000-default.conf |
| DocumentRoot (inside container) | docker/mysql/logs |
Start Docker Setup
Use this command to start all Containers.
TheTool will be available at http://localhost
Adminer will be available at http://localhost:8080
Use -d to start it detached from your current console
docker compose up [-d]
Use this command to use the container context (!! Keep in mind, not all folders are synced)
docker compose exec php bash -it
Initialize Database
Either initialize the Database with phinx (documentation located in /db)
OR
Use Adminer and a existing export to import the current state of the Database
Description
Languages
JavaScript
85.9%
PHP
10.2%
CSS
3.8%