Installing

The instruction steps:

  1. install Julia
  2. Install the database you want to use
  3. Install Jetelina
  4. Initialize Jetelina

  1. install Julia
    Jetelina requires Julia (=11.7). Get it from Julia site, then install it on your server. This link goes to the old version repo site.
     
  2. Install the database you want to use
    You might already have it, but in case you do not, install it. Jetelina requires at least one of RDBMS, whichever PostgreSQL or MySQL, for managing Jetelina’s users and something else. Of course, you can use both at once and also other DBs: reds, MongoDB, are same as well.
    And pg_ivm for PostgreSQL is here.
     
  3. Install Jeteina
    No matter which OS you have, this process works fine.

    (1) Download Jetelina from here.
    (2) Defrost it at your favorite path.
    (3) Go to the path of ‘Project.toml’ file, then start Julia with typing ‘julia’ in your console.
    (4) Confirm Jetelina is in your Julia env or not.
      julia>]      ←Yes, actually ‘]’
      pkg>st       ←Caution: changed the prompt
      —(I) in case Jetelina has already been registered in Julia env—
       Project Jetelina v0.1.0 Status `~/Jetelina/Jetelina/Project.toml`
       [336ed68f] CSV v0.10.15
       [5d742f6a] CSVFiles v1.0.2
       [aaaa29a8] Clustering v0.15.8
        ・
        ・

      —(II) in case Jetelina has not been registered in Julia env yet—
       Status `~/.julia/environments/v1.11/Project.toml` (empty project)

      in case (II), you need to activate Jetelina with ‘activate’, then ‘st’ must show (I).
      pkg>activate .  ←Caution: do not overlook ‘.’ after ‘activate’

      Whichever (I) or (II), we recommend updating all libs.
      pkg>up

      After all, exit this process.
      pkg><bakcspace> ←I mean, push ‘backspace’ key
      julia>exit()     ←Caution: ‘exit()’, not ‘exit’
    (5) Go to ‘../Jetelina/bin’ in the path and type ‘repl’ command in your console. The ‘repl’ is a start command of Genie server, which Jetelina works on.
    (6) At first, you will see Genie fetching some Julia libs that are related with running Jetelina. This might not be shown if you did ‘pkg>up’ in (4).
    (7) After finishing all fetching libs, you are ready to start.
    (8) Type ‘up()’ command in your console, this is to start Genie server.
      Caution: this mean ‘julia>up()’, not ‘pkg>up’
    (9) Type ‘exit()’ is to stop Genie server, not ‘exit’, don’t forget including ‘()’.

    You may have noticed ‘repl → up()’ is for interactive server running, I mean the server is halted if the running console is closed.
    The ‘bin/server’ command is for running it as a background process, but as you know some present Linux system call ‘hup’ signal when you close your console.
    In that case, this will help you.

    (a) Install ‘nohup’ into your system.
    (b) Type ‘jetelina_kickstart’ instead of ‘server’ in your console. This shell program runs ‘repl → up()’ with ‘nohup’

    Attention: this shell program expects ‘nohup’ in ‘/usr/bin/nohup’, you should change it in the ‘jetelina_kickstart’ file with your server environment.
     
  4. Initialize Jetelina
    Access to Jetelina with a browser: e.g, http://localhost:8000/jetelina/, then start initialize Jetelina process.