commit | d963a88e77d565d2891c1bbc11ae73db5b3fcc5a | [log] [tgz] |
---|---|---|
author | SamarV-121 <samar@samarv121.dev> | Fri Jun 02 19:17:08 2023 +0530 |
committer | SamarV-121 <samar@samarv121.dev> | Sat Jun 03 18:21:23 2023 +0530 |
tree | a607f0ce4714d4a16f73e7f557692ddc923f0fa1 | |
parent | 4a3630c6323d3fc8382fd63c30295b9de8d5cb3b [diff] |
www: Switch to HarmonyOS Sans Change-Id: I3e003d0aec458b60976b59f38e879d94f514ef05
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.