commit | 325acdd9f9039f3721762d92afc104f4a69220a7 | [log] [tgz] |
---|---|---|
author | Tim Zimmermann <tim@linux4.de> | Sun Jun 23 08:50:00 2024 +0200 |
committer | SamarV-121 <samar@samarv121.dev> | Sun Jun 23 14:27:58 2024 +0530 |
tree | f31edc3e837b8623b0daa8d290495e750d1fccac | |
parent | 03e9096f651ca6f1e013ae7ce0d899ccbb34e891 [diff] |
www: Move device info above downloads on mobile Change-Id: I214e2437404739bc4fb7ad79b07fa9e2efb4cf9a
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.