Skip to content

Xysma87/3-Blog-professionnel-PHP-JS-Bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Professional blog

Codacy Badge

Pedagogical project: create a professional blog using PHP Vanilla.

Back-end: Vanilla PHP - MySQL

Front-end: Bootstrap - Vanilla JavaScript

Instructions to install the project

Download zip files or clone the project repository with github (see GitHub documentation).

Step 1: Libraries installation

Open a terminal and do "composer install" to download the necessary libraries.

Step 2: Apache server configuration

Configure your Apache server to set the DocumentRoot to the "/Web" folder.

Step 3: Create the MySQL database and tables

Execute the SQL code of "bdd/code.sql" in your MySQL client.

Step 4: Configuration of the database connection

In the file "/lib/OCFram/PDOFactory.php", enter the required informations to connect to your MySQL database (dsn, username, password).

Step 5 (optional): Seed your database with test data

Open a terminal and do "./vendor/bin/phinx seed:run" to fill your database with fake data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •