commit | e86dadf1a748d758b8d39da7a3c3358687e052ca | [log] [tgz] |
---|---|---|
author | Tim Zimmermann <tim@linux4.de> | Sun Nov 03 06:21:17 2024 +0100 |
committer | Tim Zimmermann <tim@linux4.de> | Sun Nov 03 06:21:17 2024 +0100 |
tree | 9a434d40f914347516a562f341226c65cd206f10 | |
parent | 821763e8fbb288e496adbca6073cad4411e19f84 [diff] |
www: Show full error message Change-Id: I2e2dfe8852ef56d8c67a331e61e099de7b375013
The LeafOS website runs on Symfony 6.2. You can check the Symfony documentation for the framework requirements. There are no additional requirements other than those.
After the requirements have been met, you can install the required dependencies by running composer install
.
There are two ways to run the site locally: by using PHP built-in webserver or by using Apache/Nginx.
After you've installed the required dependencies, you can start the PHP server by running the following command from the project root:
php -S localhost:8000 -t public/
After that, you can check the site by going to localhost:8000 on your browser. If the port 8000 is in use in your machine, simple change it to something else.
Both Apache and Nginx are supported by Symfony. There is a dedicated section on Symfony documentation for that, please refer to this page in order to configure Apache/Nginx.