First you need to use composer install
command to install required packages
List of the package used :
- Twig
- Slugify
- PHPMailer
Once it's done you need to make sure you have the YAML Package installed with your PHP version (can be found here : https://pecl.php.net/package/yaml)
- Yaml extension (PHP 7.4 at least)
NOTE : Depending of your configuration, you might need to install the Yaml extension to your PHP version
The second step is to create your database, name it as you will as long as it is UTF-8.
You just need to import the database structure named database.sql
that can be found inside the main folder of the project /
.
NOTE : The database contains several samples for demonstration, you can remove them as you like
IMPORTANT : Do not delete the admin user located inside the admin
table with the 1 id and the id_user rattached to him in user
table.
There is 2 important configurations files located in the config/
folder, you can use the .example
and add your own configuration for each of one.
-
db-config.yml
: Configure link to database, you need to input your own. -
mail.yml
: Configure mail, you need to input, please note :-
from
: Registration mail will be sent with those. -
contact-to
: Contact mail will be sent to this one.
-
You can use the default account for the first login :
- Email :
admin@admin.dev
- Password :
admin12345
NOTE : All account parameters (name, email, password etc..) are editable inside the admin panel