MagnusEnger / PearlBee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PearlBee

An open source blogging platform written in Perl. pearlbee.org

Version

0.9

Setup

You can try it for yourself! All you need is a Unix-based system and a few dependencies installed.
  • make
  • libplack-perl
  • Dancer2
  • Dancer2::Plugin::DBIC
  • Authen::Captcha ( needs libgd2-xpm-dev package)
  • Digest::SHA1
  • String::Dirify
  • String::Util
  • DateTime::Format::Strptime
  • Crypt::RandPasswd
  • Email::MIME
  • Email::Sender::Simple
  • Template::Plugin::HTML::Strip
  • You will need a MySQL server for the blog's database.
  • You will need a SMTP Server for sending messages. Email are sent automatically by PearlBee in different scenarios like adding a new user

Installing / Updating perl modules

./build.sh

Creating database

After you've downloaded PearlBee source code, be sure to create the database by running the command:
mysql> GRANT ALL PRIVILEGES ON PearlBee.* To 'your_user'@'localhost' IDENTIFIED BY 'yourPassWord';

and then initialize the database by running the script

mysql -u your_user -p your_password PearlBee < pearlbee/db_patches/create_tables.sql

After the database creation, you will need to configure the following file: pearlbee/config.yaml Under the user and pass tag, please write down your own database credentials.

That's it, now you just go into the 'pearlbee' folder and run the following command:

plackup -R lib/ bin/app.pl

./scripts/launch-devel

And your blog is now running.

Usage

Admin

Once you have started your web server. Open your browser and go to the url http:://:5000/admin Use the default login / password to enter, you should change them before starting using the blog ! via "My Account -> Profile".
http://127.0.0.1:5000/admin/ user: admin password: password

Thank you for using PearlBee!

About