Zim

Merge lp:~purejava/zim/docker-zim into lp:~jaap.karssenberg/zim/master

Proposed by Ralph Plawetzki
Status: Needs review
Proposed branch: lp:~purejava/zim/docker-zim
Merge into: lp:~jaap.karssenberg/zim/master
Diff against target: 18 lines (+9/-0)
1 file modified
website/pages/install.txt (+9/-0)
To merge this branch: bzr merge lp:~purejava/zim/docker-zim
Reviewer Review Type Date Requested Status
Jaap Karssenberg Pending
Review via email: mp+325890@code.launchpad.net

Description of the change

I love zim and use it a lot on Linux, macOS and Windows.
While it's easy to install and run zim on Linux and Windows, it's quite a hassle on macOS.

So I created a Docker image, that hopefully makes things easier for macOS.

To post a comment you must log in.

Unmerged revisions

924. By Ralph Plawetzki

Add a hint for the zim Docker image.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'website/pages/install.txt'
2--- website/pages/install.txt 2015-10-11 17:57:54 +0000
3+++ website/pages/install.txt 2017-06-18 15:07:02 +0000
4@@ -61,6 +61,15 @@
5
6 An alternative that is reported to work is to install [[http://sourceforge.net/projects/macpkg/files/PyGTK/2.24.0/PyGTK.pkg/download|PyGTK for Mac]]. This will make your zim window look nicer compared to using the Mac Ports option. With PyGTK for Mac installed, you can just run zim directly from the source package.
7
8+There is also a [[https://hub.docker.com/r/purejava/docker-zim/|Docker image]] available that makes it easy to start zim on macOS. To display the application window from within Docker, Homebrew is required:
9+'''
10+brew install socat
11+brew cask install xquartz
12+open -a XQuartz (ignore the xterm that opens or close it)
13+socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" &
14+docker run -e DISPLAY=<your_IPv4_address>:0 -v ~/Documents/Notebooks/book:/home/developer/Notebooks/book --name zim purejava/docker-zim
15+'''
16+
17 ==== Testing ====
18 To verify zim is working properly on your system you can call the test suite using `''./test.py''`. Failures do not have to be critical, but in theory all tests should pass.
19

Subscribers

People subscribed via source and target branches