ctberdon/sample-blog

There is no license information available for the latest version (dev-master) of this package.

A demo blog for client

dev-master 2016-12-12 00:18 UTC

This package is not auto-updated.

Last update: 2020-08-07 20:14:58 UTC


README

A demo blog for client with markdown text support

Install

Requirements

  • PHP version 5.5.x or newer
  • MySQL version 5.0 or newer

Installing via Composer

  • composer create-project "ctberdon/sample-blog:dev-master" <installation_directory>

Configuration

  • If you are to install the project locally, it is advisable to run it under localhost domain name ending with .com, .org ... e.g. sample-blog.local.com or any domain extension as long as Google API redirect validates it.
  • Import Database structure from sample-blog.sql file.
  • Set database connection in application/config/database.php.
  • Make application/sessions directory writable. This is by default where the project stores session files. You can modify this setting in appplication/config/config.php.
  • Obtain a Google API Credentials from Google Developers Console – https://console.developers.google.com/. If you don't know how to create one, please see this post. Under Credentials, click the Project you have just created and download your API Key file by pressing Download JSON button. Place the file in application/libraries/google-api-php-client/ and named it as oauth-credentials.json. Replace the one provided.

Author