Genie.jl
Genie.jl copied to clipboard
Docs - Loading Genie Apps on Linux - Setting up the environment
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 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?
I think that's a great idea :)