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

Update 4-1--Developing_MVC_Web_Apps.md

Open jglee1 opened this issue 2 years ago • 3 comments

Added line 12 - 22 to have Genie package installed in a new environment so that there would be no conflict between Genie package and other existing packages.

Edited line 27 for necessary changes.

jglee1 avatar Sep 10 '22 02:09 jglee1

@jglee1 I don't know how

pkg> add Genie # press ] from julia> prompt to enter Pkg mode

to

(MyProject) pkg> add Genie

enhancing readability

AbhimanyuAryan avatar Sep 18 '22 20:09 AbhimanyuAryan

Like what if the new user doesn't know how to enter package mode 😔

AbhimanyuAryan avatar Sep 18 '22 20:09 AbhimanyuAryan

Thanks for the contribution but I'm not sure this would be the recommended approach. 1/ this creates 2 nested folders for each Genie app - first to install Genie, the 2nd created by Genie for the app itself. 2/ if creating multiple apps, you end up with lots of such nested folders

Instead, if installing Genie in global scope really is such a big problem, I would recommend starting Julia in a temporary project, installing Genie there, and using it to create the new app where desired:

julia --project=$(mktemp -d)

If you can take a few minutes to update the proposal with this instead of creating an extra dir, I'd be happy to merge the proposal.

essenciary avatar Sep 23 '22 19:09 essenciary