Open yantar92 opened 2 years ago
Genie.Generator.write_secrets_file()
. I'll see about making that happen automatically.Ok. I did 1 and replaced config/survey.jl with the file provided in https://yhetil.org/emacs-devel/87ee0sb3by.fsf@gmail.com/
Now, I got
> ./bin/server
_____ _
| __|___ ___|_|___
| | | -_| | | -_|
|_____|___|_|_|_|___|
| Web: https://genieframework.com
| GitHub: https://github.com/genieframework/Genie.jl
| Docs: https://www.genieframework.com/docs
| Discord: https://discord.com/invite/9zyZbD6J7H
| Twitter: https://twitter.com/GenieMVC
Active env: DEV
Loading initializers[ Info: 2022-05-20 17:49:18 SELECT name FROM sqlite_master WHERE type='table'
[ Info: 2022-05-20 17:49:20 SELECT name FROM sqlite_master WHERE type='table'
Loading routes[ Info: 2022-05-20 17:49:23 Precompiling SurveysController [top-level]
[ Info: 2022-05-20 17:49:35 Precompiling ResultsController [top-level]
ERROR: LoadError: ArgumentError: Package StatsBase not found in current path:
- Run `import Pkg; Pkg.add("StatsBase")` to install the StatsBase package.
Stacktrace:
[1] require(into::Module, mod::Symbol)
@ Base ./loading.jl:967
[2] include
@ ./Base.jl:418 [inlined]
[3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base ./loading.jl:1318
[4] top-level scope
@ none:1
[5] eval
@ ./boot.jl:373 [inlined]
[6] eval(x::Expr)
@ Base.MainInclude ./client.jl:453
[7] top-level scope
@ none:1
in expression starting at /tmp/emacs-survey/app/resources/results/ResultsController.jl:1
ERROR: Failed to precompile ResultsController [top-level] to /home/yantar92/.julia/compiled/v1.7/jl_gYn38I.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base ./loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:997
[7] top-level scope
@ /tmp/emacs-survey/routes.jl:4
in expression starting at /tmp/emacs-survey/routes.jl:4
Ready!
┌ Info: 2022-05-20 17:49:45
└ Web Server starting at http://0.0.0.0:8088 - press Ctrl/Cmd+C to stop the server.
Running bin/server yields the following errors on my systems: