An exemple is available on : https://mylostuniver.com
The aim of this project, is to create a blog. Anyone can read articles and write comments.
The administration part is resrved for registred users. The administrator can restict actions.
Three cumulative profiles are available. The redactor to manage the articles. The moderator to handle comments. The administrator to manage users.
It use some libraries :
- Php unit
- php mailer
All are included by composer.
Download oc_projet5
file on gitHub. You can download, or clone it on : https://github.com/esauvage1978/oc_projet5.
- Put oc_projet5 file on root of your web server.
- If not set, create your database. Files are present in directory 'bdd'
- open
./config/bdd.php
, replace XXX by your parameters - open
./config/config.php
, replace XXX by your parameters - Pointed your URL on :
./Public/index.php
Your web site is up !!!
- Create an user
- in database, on table ocp5_user, change value of
u_user_role
by1