commit b3c500b8505eeb78a85fa00443275d6249bff2e6 parent ae8e8cef3b1f83ed4c9161a312553583d27597e6 Author: William Lindholm <william_lindholm@outlook.com> Date: Fri, 29 Mar 2024 18:24:41 +0100 Updated readme with project instructions. Diffstat:
| M | README.md | | | 40 | +++++++++++++++++++++++++++++++++++++++- |
| A | docs/change_hostname.png | | | 0 |
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md @@ -1,2 +1,39 @@ # LenaSYS-docker - Docker environment for hosting LenaSYS +Docker environment for hosting [LenaSYS](https://github.com/HGustavs/LenaSYS). This project automatically clones the latest version of LenaSYS and hosts it with the proper settings. + +## prerequisites + +In order to use this project you need to install: + - [Git](https://github.com/git-guides/install-git) + - [Docker](https://docs.docker.com/get-docker/) + +## Installation + +1. First clone the project to a location of your liking: + + ``` git clone https://github.com/a22willi/LenaSYS-dockerenv.git ``` + +2. Start the docker containers + + Navigate to the *LenaSYS-dockerenv* folder, and run the command: + + ``` docker compose up -d ``` + +3. Run the install script + + Navigate to [LenaSYS/install/install.php](http://localhost/LenaSYS/install/install.php) and run the installer. The first page should have its information preselected. When asked for a database root password, simply write `password`. + +## Current limitations + +Due to current limitations with the installer, the MySQL-user is limited to connect from the same hostname as previoulsy specified. This does not work for docker installations such as this one. See [issue-#14281](https://github.com/HGustavs/LenaSYS/issues/14281). + +To circumvent this: + +- open [phpmyadmin](http://localhost:8080). +- Navigate to `User accounts` tab and click the `lenasys` user. +- Click `Login Information` and change the hostname to `%`. +- Select `... delete the old one from the user tables and reload the privileges afterwards.` +- Click `Go`. + +It should look like this: + +\ No newline at end of file diff --git a/docs/change_hostname.png b/docs/change_hostname.png Binary files differ.