Skip to content

LeoGrambert/PHP-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Projet3_CPMDev

Create a blog to a writter without framework or CMS


How to download and use this project ?

1. Download zip
2. Unzip it where you want
3. Connect to mysql mysql -u yourUsername -p and create database CREATE DATABASE blog_JF;
Import the sql files (you can find those in docs/) and copy paste the content in your command prompt
4. Change the constants in the App_dev.php file (DB_USER, DB_PASS and DB_HOST) and change the file name to App.php (don't forget to also change the class name)
5. In your command prompt, go in blog/ (don't forget, otherwise you'll get an 404 error) and run php server php -S localhost:8080 -ddisplay_errors=1 -dzend_extension=xdebug.so -dxdebug.remote_enable=1 -dxdebug.remote_autostart=1 -dxdebug.remote_port=3004

Now, you can go to this adress : http://127.0.0.1:8080/web/index.php?p=1

To access the administration interface, use this : "username" "password"


Architecture logic :

diagram


Find instructions here : https://openclassrooms.com/projects/creez-un-blog-pour-un-ecrivain-1

Leo Grambert

About

Create a blog to a writter without framework or CMS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published