How to configure Genie for production environment?

Solution 1:

You have 2 easy options:

1/ at the OS terminal, when starting the Genie app, pass the GENIE_ENV="prod" environment variable, like this:

$> GENIE_ENV="prod" bin/repl

2/ switch the application to PROD by default by editing the config/env/global.jl file and adding this line:

ENV["GENIE_ENV"] = "prod"