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.
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
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.
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,
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.
If you are working on wordpress custom theme and you want to include categories that you created and customize it someway that you prefer, here is how.
Continue reading “Get all categories from wordpress”
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”