Skip to content

ohida/pochika

Repository files navigation

Pochika

'Pochika' is a lightweight blog engine built with Laravel5.

Build Status

Demo

http://solvalou.net/

Features

  • Index / Archives
  • Entries
    • Posts / Pages
    • Markdown files
  • Themes
  • Plugins
  • Cache

Requirements

Installation

  1. Clone repo git clone -b develop http://github.com/ohida/pochika.git
  2. Change into pochika's root dir cd pochika
  3. Install dependencies composer install
  4. Set permission of storage dir chmod -R a+w storage
  5. Create .env file cp .env.example .env
  6. Run web server php -S localhost:3000 -t public

Unit Test

run phpunit --configuration=./phpunit.xml

How to use

Configure

Edit config.yml

Create a new post

Run php artisan pochika:new command

or

Put a markdown file in the posts directory (source/posts).
File name must be yyyy-mm-dd-title.md(markdown) and have yaml-frontmatter like jekyll.

For better performance

  • yaml extension
    • faster yaml reading
    • pecl install yaml

License

Pochika is open-sourced software licensed under the MIT license