1
0
mirror of https://gitlab.com/Anson-Projects/spacesystemscalc.git synced 2025-08-03 03:41:29 +00:00

Init Commit

This commit is contained in:
2022-08-22 20:18:28 -06:00
commit 3071dd9fd1
56 changed files with 1880 additions and 0 deletions

15
config/env/dev.jl vendored Executable file
View File

@@ -0,0 +1,15 @@
using Genie, Logging
Genie.Configuration.config!(
server_port = 8000,
server_host = "127.0.0.1",
log_level = Logging.Info,
log_to_file = false,
server_handle_static_files = true,
path_build = "build",
format_julia_builds = true,
format_html_output = true,
watch = true
)
ENV["JULIA_REVISE"] = "auto"

2
config/env/global.jl vendored Executable file
View File

@@ -0,0 +1,2 @@
# Place here configuration options that will be set for all environments
# ENV["GENIE_ENV"] = "prod"

19
config/env/prod.jl vendored Executable file
View File

@@ -0,0 +1,19 @@
using Genie, Logging
Genie.Configuration.config!(
server_port = 8000,
server_host = "0.0.0.0",
log_level = Logging.Error,
log_to_file = false,
server_handle_static_files = true, # for best performance set up Nginx or Apache web proxies and set this to false
path_build = "build",
format_julia_builds = false,
format_html_output = false
)
if Genie.config.server_handle_static_files
@warn("For performance reasons Genie should not serve static files (.css, .js, .jpg, .png, etc) in production.
It is recommended to set up Apache or Nginx as a reverse proxy and cache to serve static assets.")
end
ENV["JULIA_REVISE"] = "off"

11
config/env/test.jl vendored Executable file
View File

@@ -0,0 +1,11 @@
using Genie, Logging
Genie.Configuration.config!(
server_port = 8000,
server_host = "127.0.0.1",
log_level = Logging.Debug,
log_to_file = true,
server_handle_static_files = true
)
ENV["JULIA_REVISE"] = "off"