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 2022-05-17 05:46 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:41:06 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