2023-06-15 01:41:54 +07:00
|
|
|
|
|
|
|
# Load our website project into Julia
|
|
|
|
cd(@__DIR__)
|
|
|
|
using Pkg
|
|
|
|
Pkg.activate(".")
|
|
|
|
|
|
|
|
# Make sure that we have all needed packages
|
|
|
|
Pkg.instantiate()
|
|
|
|
|
|
|
|
using Genie
|
|
|
|
|
|
|
|
# Load our website project into Genie
|
|
|
|
Genie.loadapp(".")
|
|
|
|
|
|
|
|
# Launch server
|
|
|
|
if ENV["GENIE_ENV"]=="dev"
|
|
|
|
Genie.up()
|
|
|
|
else
|
|
|
|
Genie.up(async=false)
|
|
|
|
end
|
2023-07-04 23:21:15 +07:00
|
|
|
|