commit | 18e9a7d899839932975193361e23e787c49c59cf | [log] [tgz] |
---|---|---|
author | Tim Zimmermann <tim@linux4.de> | Sat Jun 22 19:35:24 2024 +0200 |
committer | Tim Zimmermann <tim@linux4.de> | Sat Jun 22 19:39:35 2024 +0200 |
tree | 07bb001ae6cdd2ff0d7b4080518c01d01f9eec74 | |
parent | 37cdcac0e959f3699490e29b39524a1726716ec3 [diff] |
www: Make build flavor names match what's actually used Change-Id: I635b6e12b526767e0c71b08717aa787d25b37be9
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.