commit | 6f02d8d84411d2dccfe49c2d277c0c184400600a | [log] [tgz] |
---|---|---|
author | Renan Firehawk Lazarotto <renanlazarotto@gmail.com> | Fri Jun 02 09:39:00 2023 -0300 |
committer | Renan Firehawk Lazarotto <renanlazarotto@gmail.com> | Fri Jun 02 09:39:00 2023 -0300 |
tree | bb9257d3749a0279d91b02a7d56a1004ecf5e645 | |
parent | 45cdd43a5f71987d78c128b1ca0a7b22899206ae [diff] |
www: General overhaul - Move wiki sidebar to its own component - Remove footer footnote - Fix some layout issues - Add a route in WikiController for non-device wiki pages - Add error-handling for not-found wiki pages - Better 404 and 500 error pages - Add some content to the homepage Change-Id: I944030ea0cb21fca0d784ea42f69d2534d95e2fa
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.