The Synext Web component has some requirements who should be satisfied before make the installation . You will need to make sure that your server meets the following requirements
- Php >= 7.4.5
- Pdo Php Extension
- Json Php Extension
- Composer
Synext use the dependency manager called composer to manage required packages, so before continue make sure you already installed it
$ composer create-project informatutos/synext blog $ git clone https://github.com/Informatutos/synext.gitor
$ gh repo clone Informatutos/synextTo run the local server you need to run the following command in the root path of your project
$ php -S localhost:8000 -t public -d error_reporting=E_ALLAfter the installation finish check if in,
- the root path you have the
.envfile otherwise copy the.env.exampleand rename it to.env - the
publicfolder located on root directory you have the.htaccessfile , it used to create a pretty url
Here is content of this file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
Options -Indexes