Genie.jl icon indicating copy to clipboard operation
Genie.jl copied to clipboard

Docs - Loading Genie Apps on Linux - Setting up the environment

Open PeterNorlindh opened this issue 4 years ago • 2 comments

I struggled a bit with the docs on Loading Genie Apps. The documentation is perfectly clear, but it assumes that Julia is installed in such a way that it can be launched from the project's root folder - which wasn't the case for me.

To help beginners like myself I suggest that you clarify this assumption and provide pointers on how to set up the Julia environment properly (Linux). I find that adding a shortcut to usr/bin (sudo ln -s home/user/path/to/julia/bin/julia /usr/bin/julia) is the easiest way to do it.

PeterNorlindh avatar Oct 18 '20 17:10 PeterNorlindh

@PeterNorlindh That is a good point, thank you.

What do you think about recommending the pure Julia approach (which I started to use more often for REPL work):

julia> cd(...path to app...)
julia> using Genie
julia> loadapp()

I think maybe using scripts for bin/ should be recommended for running the app unsupervised (as a script) and the above should be recommended for REPL/interactive work?

essenciary avatar Oct 26 '20 09:10 essenciary

I think that's a great idea :)

PeterNorlindh avatar Nov 07 '20 13:11 PeterNorlindh