Create your first blog with PHP
These instructions will get you a copy of the project up and running on your local machine if you want to test it or develop something on it.
To make the project run you will need to install those things :
Follow those steps to make the projetc run on your machine
Clone the project :
git clone https://github.com/mathias73/Blog.git
Update composer :
composer update
Install npm packages :
npm i
You can download a database with data test here :
You can edit Config.php with your database credentials :
class Config
{
const DB_HOST = 'mysql:dbname=blog;host=127.0.0.1';
const DB_USER = 'root';
const DB_PASSWORD = '';
const DB_OPTION = [\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'];
}
With the database test you have two admin accounts which are :
Pseudo : Moore
Password : motdepasse
Pseudo : Hawkins
Password : motdepasse
You can configure Laragon to test the contact form (it send a mail).
Follow the instructions here : https://laragon.org/docs/mail-sender.html
- PHP - Programming language
- Twig - Template engine
- Clean blog - Template bootstrap
- aos - Animation JS library
- TinyMCE - Text editor
- Fontawesome - Icon library
For the versions available, see the tags on this repository.
- Mathias Micheli - Student - Github