Skip to content

kdefarge/SIMPLE_PHP_BLOG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIMPLE PHP BLOG Codacy Badge

My professional blog

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

SASS

Composer

MySQL
PHP 7 or more

Installing

Install database with install_db.sql script

database\install_db.sql

Check you have installed sass command in your system and after use composer command

composer install

Update database parameter in config.php

<?php

return (object) array(
    'host' => 'mysql:host=localhost;dbname=blog;charset=utf8',
    'username' => 'root',
    'password' => ''
);

?>

Compiling Sass (DEV)

If you need compile sass files

sass --watch sass:public/css/ --style=compressed --no-source-map

Or

sass sass:public/css/ --style=compressed --no-source-map

Built With

  • Composer - A Dependency Manager for PHP
  • SASS - Professional grade CSS extension
  • Bootstrap - front-end framework
  • Jquery - JavaScript library
  • Twig - Modern template engine for PHP

Authors

  • Kevin DEFARGE - Initial work - kdefarge

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published