ctberdon / sample-blog
A demo blog for client
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.0
- twbs/bootstrap: ^3.3
Suggests
- paragonie/random_compat: Provides better randomness in PHP 5.x
This package is not auto-updated.
Last update: 2025-03-29 22:43:40 UTC
README
A demo blog for client with markdown text support
Install
Requirements
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 inappplication/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 pressingDownload JSON
button. Place the file inapplication/libraries/google-api-php-client/
and named it asoauth-credentials.json
. Replace the one provided.
Author
- Carmencito Berdon me@carmencitoberdon.com