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
pkg:composer/ctberdon/sample-blog
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-10-26 01:48:45 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.comor any domain extension as long as Google API redirect validates it.
- Import Database structure from sample-blog.sqlfile.
- Set database connection in application/config/database.php.
- Make application/sessionsdirectory 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 JSONbutton. 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