Skip to content

Instantly share code, notes, and snippets.

@pdostal
Created August 10, 2014 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdostal/d274d51f3b80eff58096 to your computer and use it in GitHub Desktop.
Save pdostal/d274d51f3b80eff58096 to your computer and use it in GitHub Desktop.
OSX Jekyll installation
sudo gem install jekyll
sudo gem install rdiscount # markdown process
sudo easy_install Pygments # code snippets
sudo gem install jekyll-import
sudo gem install mysql2
sudo gem install unidecode
sudo gem install therubyracer
sudo gem install execjs
ruby -rubygems -e 'require "jekyll-import";
JekyllImport::Importers::WordPress.run({
"dbname" => "",
"user" => "",
"password" => "",
"host" => "localhost",
"socket" => "/var/run/mysqld/mysqld.sock",
"table_prefix" => "wp_",
"clean_entities" => true,
"comments" => true,
"categories" => true,
"tags" => true,
"more_excerpt" => true,
"more_anchor" => true,
"status" => ["publish"]
})
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment