Genie Discord forum

Author Avataralexp95
1/9/2023, 3:05:42 PM

the title says it all

Author Avatarabhimanyuaryan
1/10/2023, 5:24:59 AM

can you give any example. What do you mean by running Genie in Script? What scrip? Bash?

Author Avatarabhimanyuaryan
1/10/2023, 5:25:30 AM

plz give example or express.js / rails script that I can look and figure out what you meant/trying to achieve

Author Avataralexp95
1/10/2023, 1:38:31 PM

I ,mean I want to save it in a script, and run it that way, lets say I put the code for in a file called main.jl , I want to be able to run the code in the scipt by running "julia main.jl" and not use the repl enviroment

Author Avataralexp95
1/11/2023, 4:31:19 PM

Nevermind, I found the answer, there is a variable in Genie called Genie.config.run_as_server and you can do this by setting it to true