This repository contains the source code of Mehmet Gökce web site.
The web site is built using the following technologies:
- PHP 7
- zend-expressive
- Plates as template engine for PHP
- Bootstrap for HTML, CSS and JS
The blog post section is managed using static HTML files, collecting the data for pagination using a simple cache file in PHP.
You need to use composer to install all the library dependencies:
composer install
If you don't have the composer command installed in your system, you can install following these steps.
For testing purpose, you can run the website using the internal web server of PHP, running the following command:
php -S 0.0.0.0:8000 -t public public/index.php
If you want to deploy the website in a production environment you need to
use public
as web directory.
You can optimize the composer autoload in a production environment and omit the dev requirement using the following command:
composer install --no-dev --optimize-autoloader
Copyright (c) 2017, Mehmet Gökce.