Ghost blogging platform

Kickstarter funded Ghost pure blogging platform,built in node.js, if you are not familiar with node.js which is basically a platform that allows you to write server side programming in javascript, build with google V8 engine(super fast speed). There are many talks about this platform which to replace wordpress, which I am not sure about that, currently there are some restriction for none geeky users which required to install node on your server to be able to use this platform which not alot servers have it.

Anyway Ghost was released to public two days ago, you can download from http://ghost.org/ or github https://github.com/TryGhost/Ghost and install it locally, with simple steps below.

Once you download, unzip to somewhere you like, open your terminal, cd to that location.

type:

npm install or sudo npm install

this will install the node.js dependencies and as easy as that, to run this program, you can do

npm start

Open it up your browser which this runs locally on http://127.0.0.1:2368/

and when first start it will ask you about to create an password on http://127.0.0.1:2368/ghost/ which is the admin area where you blog and post using markdown syntax.

o…ya before this make sure that you install node.js, I have been playing with it for about 3-4 hours,which I talk abit about themeing in Ghost in next post.

 

Import large sql files to phpmyadmin

have you ever encounter problem with importing large files like 300MB or more sql files into your phpmyadmin?
Here is the solution,

Open up your phpmyadmin config file, for me I am using MAMP on Mac,
opens up
[cc lang=”php”]/applications/MAMP/bin/phpMyAdmin/config.inc.php

find $cfg[‘UploadDir’ ] = ‘upload’ ; around line 530, change to
[cc lang=”php”]$cfg[‘UploadDir’] = ‘upload’;

this script allow you to have an option to select the files to upload,
now go to line 143 change $cfg[‘ExecTimeLimit’] = 300; to
[cc lang=”php”] $cfg[‘ExecTimeLimit’] = 0; // maximum execution time in seconds (0 for no limit)

as commented on the script, this prevent you from timeout when uploading a large file,
now go to same folder as config.inc.php create another folder call upload, put you large sql files inside and refresh your phpmyadmin again, go to import option, now you will see the option that allow you to select files that you just put in.

How to remove Uncategorized from WordPress categories

wordpress interaction design

Have you been annoyed by this small thing with a default “uncategorized” category in WordPress categories.
You start to write blogs and created a few categories, but you found that you want to delete away the “uncategorized” category, yet there is no delete option for you.
annoying isn’t it??

First you need to change the default category to other category you just created.
navigate to your wordpress dashboard –> settings –> Writing

Continue reading “How to remove Uncategorized from WordPress categories”