title: Move from Wordpress …
First step is to install the latest Nikola. :
$ pip install https://github.com/ralsina/nikola/zipball/master
Next step is to export your existing blog into XML format. Login to your Wordpress, then goto Dashboard->Tools->Export option and download the exported xml file to your computer, the name of the file will be like mysite.wordpress.2012-12-20.xml
Remember to update your Wordpress to the latest version before exporting.
You can import the posts using the following command :
$ nikola import_wordpress mysite.wordpress.2012-12-20.xml
After the above command you will have a new_site directory and inside your blog is ready.
This import will have:
If you get errors while importing the xml file, please do mail the xml file to the upstream so that he can fix the importer.
You can build the posts using the following command inside the new_site directory. :
$ nikola build
You can just rsync output/* to your site and it will be available to others. You can have deploy command for the same in conf.py :
DEPLOY_COMMANDS = [ 'rsync -rav --delete output/* email@example.com:./public_html/', ]
You can use the same files to create your github pages. You just need to put output directory under git as username.github.com git repo.
The naming schema must have username/username.github.com naming scheme.
After this username.github.com should be ready.
If you want to use BitBucket to host your static site, do the following.
After this username.bitbucket.org should be ready.