Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
terasakisatoshi committed May 5, 2022
1 parent 49019bf commit cc43692
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions bin/main.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@info "@__DIR__: " @__DIR__
@info "pwd(): " pwd()

ENV["HOST"] = "0.0.0.0"

push!(LOAD_PATH, abspath(realpath(joinpath(@__DIR__, "../src/"))))
push!(LOAD_PATH, abspath(realpath(joinpath(@__DIR__, ".."))))
@info "LOAD_PATH: " LOAD_PATH

ENV["STARTSERVER"] = true
ENV["GENIE_ENV"] = "prod"
ENV["EARLYBIND"] = true

@info "haskey EARLYBIND" haskey(ENV, "EARLYBIND")
@info "EARLYBIND" ENV["EARLYBIND"]

# include("../bootstrap.jl")
a = abspath(realpath(joinpath(@__DIR__, "..")))
@info a
cd(a)
run(`julia --project=. bootstrap.jl`)
2 changes: 1 addition & 1 deletion lib

0 comments on commit cc43692

Please sign in to comment.