On 10 April 2016 at 14:44, Bruno Friedmann <bruno@ioda-net.ch> wrote:
On dimanche, 10 avril 2016 14.13:00 h CEST Ish Sookun wrote:
Hi jdd,
On 04/10/2016 11:18 AM, jdd wrote:
1) do you have a link to a way of knowing how one can really *use* jekyll to write a blog or web site? (I want to write, what do I have to do)
I'm running Jekyll on openSUSE Leap 42.1. You'll need gcc & make. Then fire up: gem install jekyll
It does not put the symbolic link, let's do it manually:
ln -s /usr/bin/jekyll.ruby2.1 /usr/local/bin/jekyll
To create a "project", do:
jekyll create my-web-project jekyll serve &
The output should look like:
Configuration file: /home/ish/my-web-project/_config.yml Source: /home/ish/my-web-project Destination: /home/ish/my-web-project/_site Incremental build: disabled. Enable with --incremental Generating... done in 17.329 seconds. Auto-regeneration: enabled for '/home/ish/my-web-project' Configuration file: /home/ish/my-web-project/_config.yml Server address: http://127.0.0.1:4000/ Server running... press ctrl-c to stop.
I also tried a WP migration and it appeared to be straight-forward with "jekyll-import". You'll also need the following "sequel", "unidecode", "mysql".
gem install sequel unidecode mysql jekyll-import
The following snippet will import the WordPress posts into the Jekyll project:
ruby -rubygems -e 'require "jekyll-import"; JekyllImport::Importers::WordPress.run({ "dbname" => "wordpress", "user" => "wpadmin", "password" => "xxxxxx", "host" => "localhost", "socket" => "", "table_prefix" => "wp_", "site_prefix" => "", "clean_entities" => true, "comments" => true, "categories" => true, "tags" => true, "more_excerpt" => true, "more_anchor" => true, "extension" => "html", "status" => ["publish"] })'
Cheers,
Thanks Ish for the information.
Now for me my main concern will be how to migrate lizards wp where I can't have mysql db connection :-) On board report, I'm seeing that lizards will close (unfortunately, but understable). And contact will be made with author to help on migration. I certainly have to wait until this happen.
Don't worry, Lizards' wont be going anywhere until everyone currently on it has found a new home But if you want to get ahead of things by moving now, awesome :) Do lizards users have access to the Wordpress > Tools > Export tool? If so, you can use that and this variation on what Ish posted above to import from one of those wordpress.xml exports https://import.jekyllrb.com/docs/wordpressdotcom/ -- To unsubscribe, e-mail: opensuse-marketing+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-marketing+owner@opensuse.org