Skip to content

Setting everything up

Pablo-Merino edited this page Jul 30, 2011 · 5 revisions

Hi! Welcome to the Bloggy’s wiki!

I’m going to explain how to set Bloggy up and running in a few minutes. It’s not difficult, and I’m sure you can set it up just by reading the comments on the config file.

Okay:
1. Download or clone Bloggy
2. Copy the files to your server
3. Head to “config/” and rename `main.inc.php.dist` to `main.inc.php`. Now open this file on your choice’s text editor (MS Word no, please :P)
4. Ok now check this:

// Title of Blog
$bloggy_config['title'] = "Bloggy!";

// Bloggy version
$bloggy_config[‘enablemobile’] = 1;

// Lifefyre Site ID (for comments). Get your ID here: http://livefyre.com/install/
$bloggy_config[‘livefyre_id’] = “PUT_HERE_YOUR_OWN”;

// Skin
$bloggy_config[‘defaultheme’] = “bloggy”;

// Subtitles
$bloggy_config[‘subtitles’] = array(“For Hackers with Schedules”, “Because it’s fast!”, “The hacker’s choice!”, “#1”, “Blogging for Hackers”, “No need of SQL!”);


Let’s take a look:
  • $bloggy_config['title'] = "Bloggy!";
    This sets the blog’s title
  • $bloggy_config['enablemobile'] = 1;
    This sets to enable the mobile theme (iOS devices only)
  • $bloggy_config['livefyre_id'] = "PUT_HERE_YOUR_OWN";
    This is the ID for Livefyre comments (highly recommended, it may not work without this, get it here: http://livefyre.com/install/)
  • $bloggy_config['defaultheme'] = "bloggy";
    Sets the default theme (found on skins/ directory)
  • $bloggy_config['subtitles'] = array("For Hackers with Schedules", "Because it's fast!", "The hacker's choice!", "#1", "Blogging for Hackers", "No need of SQL!");
    That is an array of subtitles that get randomly choosen everytime the blog is loaded

Well, that’s basically everything for setting the system.
Now to the email posting:


// Check Mail On Every Load
$bloggy_config['check_mail'] = false;

// IMAP Host (for SSL put ssl:// infront of the server address)
$bloggy_config[‘imap_host’] = "";

// IMAP Port (For SSL Host it’s generally 993, and for Standard it’s normally 143)
$bloggy_config[‘imap_port’] = ;

// IMAP User
$bloggy_config[‘imap_user’] = "";

// IMAP Password
$bloggy_config[‘imap_pass’] = "";

// IMAP Folder (You can customize what folders we look for post in, please note that this folder will be cleared on every new post)
$bloggy_config[‘imap_folder’] = "";

// Mail Password (an extra auth layer for email posting, to disable simply set this to false)
$bloggy_config[‘mail_pass’] = "";


Nothing much, just read the comments. Don’t use your usual account as the inbox gets deleted, better make an extra account, gmail works fine. This is the config for Gmail (make sure the account you’re going to use has IMAP enabled, google how to enable it):
  • check_mail: true for checking the mail every time the blog is loaded, false for doing it manually.
  • imap_host: ssl://imap.gmail.com
  • imap_port: 993
  • imap_user: the email account you choose
  • imap_pass: the password of the email account you choose
  • imap_folder: INBOX for the account’s inbox. Here is the folder where Bloggy will look for new posts.
  • mail_pass: Is a password you set for the email posting, so nobody can post without it

Well this is basically the basic setup :) enjoy!

Clone this wiki locally