tutorial



  1. Convention
    1. HTML publishing in your local machine
      1. HTML publishing for www server in your local machine
        1. HTML publishing to remote web server
          1. Wiki collaboration with other people.
            1. Advantage
              1. Disadvantage

              Recent Updates
              tips
              2013/10/19
              juli formatting
              2012/10/20
              template(macro)
              2012/10/20
              template
              2012/10/20
              takahashi_method
              2012/10/20
              index
              2012/10/20
              i18n
              2012/10/20
              wikipedia(macro)
              2012/06/05
              jmap(macro)
              2012/05/23
              photo(macro)
              2012/05/15
              tag(macro)
              2012/05/15
              tutorial
              2012/05/15
              juli(1)
              2012/05/15
              je(1)
              2012/05/15
              juli_tb.rb(1)
              2012/04/12
              slidy
              2012/03/23
              tutorial/minutes_20110117
              2011/12/08
              release-note
              2011/12/08
              computing
              2011/12/08


              index > tutorial

              Several usages are explained here. It is assumed that installation has been already done.

              1. Convention

              Before starting to explain each case, let me use the following conventions:

              MY_ACCOUNT:my login account name.
              MY_NOTE:juli-repo directory. Example: /home/MY_ACCOUNT/juli_repo
              MY_EDITOR:command of your favarite editor. Example: Notepad, emacs, vi, etc.

              Also, it is assumed EDITOR environment variable is set. Please confirm:

              $ echo $EDITOR
              (vi, emacs, or any editor command should be printed)

              Otherwise, please set it before using je(1).

              2. HTML publishing in your local machine

              This is the simplest case of juli usage; writing text, generate HTML, and read it.

              1. initialize juli-repo:
                $ mkdir MY_NOTE
                $ cd MY_NOTE
                $ juli init
              2. set $JULI_REPO environment variable for je(1):
                $ export JULI_REPO=MY_NOTE
                Example:
                $ export JULI_REPO=~/my_note
                It is recommended to set JULI_REPO at ~/.bashrc etc. also.
              3. write any memo what you want:
                $ je minutes_20110117
                Example of editing text.
              4. After exitting your editor, generating HTML, updating sitemap and recent_update list are executed:
                bulk mode                                     # brief message is displayed.
                generated:       html/minutes_20110117.html   #   :
              5. browse your document:
                $ firefox ../html/minutes_20110117.html       # run firefox if it is enable
                (output directory is '../html' in this example) Generated html of the example above looks like this.

              As index document explains, each filename under MY_NOTE in a document is automatically linked.

              3. HTML publishing for www server in your local machine

              This is almost the same as above since web server in your local machine publishes your documents to internet.

              Only difference is to configure web server.

              There are several ways to configure juli output_top as a web server directory. Here is just one of the ways to do that in Debian/Ubuntu case.

              1. prepare httpd directory for juli output:
                $ cd /var/www
                $ sudo mkdir juli
                $ sudo chown MY_ACCOUNT juli
              2. initialize juli-repo:
                $ mkdir MY_NOTE
                $ cd MY_NOTE
                $ juli init -o /var/www/juli

              The remaining tasks are the same as above.

              4. HTML publishing to remote web server

              This is more realistic case than before. Working at local and publishing to remote web server. Actually, I'm doing so to publish this juli document to http://jjjuli.sourceforge.net

              Setting up is the same as the first one. Only difference is to push generated files to server. I'm using rsync for this purpose.

              Writing text and reading HTML can be done locally anytime anywhere. It doesn't require internet connection.

              5. Wiki collaboration with other people.

              Juli + git expand its features.

              Do you know git? From juli point of view, it provides:

              1. revision control
              2. file-base collaboration with other people
              3. local file commit(you can think it means 'save' for now)

              For the detail, please refer http://git-scm.com/ .

              By git, you can collaborate with other people:

              This figure is just one of use-case. For example, if juli+git can be installed on the web server, all of file transfer can be done by git and run juli at web server to generate HTML. Another case. Above figure shows just peer-to-peer, but as you may know, we can put central git hub for all juli users

              Juli supports simple wiki feature so that when a team works juli-repo together, juli-repo becomes a wiki world. The difference between juli+git and usual wiki is:

              5.1. Advantage

              1. juli+git can be used to edit and view its HTML locally without online.

              5.2. Disadvantage

              1. juli+git needs to have repository for each user while usual wiki has only one.

              Currently (v0.03.*), juli doesn't integrate git so you need to setup git manually.


              index > tutorial


              Get jj_juli at SourceForge.net. Fast, secure and Free Open Source software downloads | Generated by juli 1.17.01