commit | d1bcf99c2e7f09fb35ad21779597284e13f94a5a | [log] [tgz] |
---|---|---|
author | SamarV-121 <samar@samarv121.dev> | Sun Jun 23 15:02:51 2024 +0530 |
committer | SamarV-121 <samar@samarv121.dev> | Sun Jun 23 16:45:54 2024 +0530 |
tree | 8c9a02f016e7aaad2aa5c966af0286f0d8db2182 | |
parent | ecdaf68daa3f0788ec446c3835eb6797122c563b [diff] |
www: devices: Display vendors in a sorted order - Keep GSI at the top Change-Id: I30b1a49b05cd115ceba6ee2333d19067c8873683
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.