commit | d3efacd3ea5dff578e957d39287384c756f3e750 | [log] [tgz] |
---|---|---|
author | Tim Zimmermann <tim@linux4.de> | Sat Jun 22 19:59:03 2024 +0200 |
committer | Tim Zimmermann <tim@linux4.de> | Sun Jun 23 08:35:14 2024 +0200 |
tree | 24e71f7a844b5af2e62c1f0c329f8a734df24440 | |
parent | 610b8ba02ff231a7810b86dda6bd9d47cf8c7421 [diff] |
www: Import currently supported devices * Also just use lineage's device ymls and pictures directly Change-Id: I3c8d56968fadbc3c3014fa41bde6c5d5086a0101
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.