Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F51240
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Subscribers
None
View Options
diff --git a/config/config.exs b/config/config.exs
index e1bbf1f..caeeb69 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -1,59 +1,59 @@
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
#
# This configuration file is loaded before any dependency and
# is restricted to this project.
use Mix.Config
config :logger, level: :debug
config :logger, :console,
format: "$date $time [$level$levelpad] $metadata$message\n",
metadata: :all
config :phoenix, :json_library, Jason
# General application configuration
-config :lsg,
- namespace: LSG
+config :nola,
+ namespace: Nola
-config :lsg, :data_path, "priv"
+config :nola, :data_path, "priv"
-config :lsg, :brand,
+config :nola, :brand,
name: "Nola",
source_url: "https://phab.random.sh/source/Bot/"
config :ex_aws,
region: "us-east-1",
host: "s3.wasabisys.com",
s3: [
host: "s3.wasabisys.com",
region: "us-east-1",
scheme: "https://"
]
# Configures the endpoint
-config :lsg, LSGWeb.Endpoint,
+config :nola, NolaWeb.Endpoint,
url: [host: "localhost"],
secret_key_base: "cAFb7x2p/D7PdV8/C6Os18uygoD0FVQh3efNEFc5+5L529q3dofZtZye/BG12MRZ",
- render_errors: [view: LSGWeb.ErrorView, accepts: ~w(html json)],
+ render_errors: [view: NolaWeb.ErrorView, accepts: ~w(html json)],
server: true,
live_view: [signing_salt: "CHANGE_ME_FFS"],
- pubsub: [name: LSG.PubSub,
+ pubsub: [name: Nola.PubSub,
adapter: Phoenix.PubSub.PG2]
config :mime, :types, %{"text/event-stream" => ["sse"]}
-config :lsg, LSG.IRC.LastFmHandler,
+config :nola, Nola.IRC.LastFmHandler,
api_key: "x",
api_secret: "x"
-config :lsg, LSG.IRC.YouTubeHandler,
+config :nola, Nola.IRC.YouTubeHandler,
api_key: "x",
invidious: "yewtu.be"
config :mnesia,
dir: '.mnesia/#{Mix.env}/#{node()}'
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env}.exs"
diff --git a/config/dev.exs b/config/dev.exs
index 25e7123..a2b97f8 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -1,51 +1,51 @@
use Mix.Config
# For development, we disable any cache and enable
# debugging and code reloading.
#
# The watchers configuration can be used to run external
# watchers to your application. For example, we use it
# with brunch.io to recompile .js and .css sources.
-config :lsg, LSGWeb.Endpoint,
+config :nola, NolaWeb.Endpoint,
http: [port: 4012, ip: {0,0,0,0}],
debug_errors: true,
code_reloader: true,
check_origin: false
# ## SSL Support
#
# In order to use HTTPS in development, a self-signed
# certificate can be generated by running the following
# command from your terminal:
#
# openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout priv/server.key -out priv/server.pem
#
# The `http:` config above can be replaced with:
#
# https: [port: 4000, keyfile: "priv/server.key", certfile: "priv/server.pem"],
#
# If desired, both `http:` and `https:` keys can be
# configured to run both http and https servers on
# different ports.
# Watch static and templates for browser reloading.
-config :lsg, LSGWeb.Endpoint,
+config :nola, NolaWeb.Endpoint,
live_reload: [
patterns: [
~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
~r{priv/gettext/.*(po)$},
- ~r{lib/lsg_web/controllers/.*(ex)$},
- ~r{lib/lsg_web/views/.*(ex)$},
- ~r{lib/lsg_web/templates/.*(eex)$}
+ ~r{lib/nola_web/controllers/.*(ex)$},
+ ~r{lib/nola_web/views/.*(ex)$},
+ ~r{lib/nola_web/templates/.*(eex)$}
]
],
watchers: [
make: ["-C", "assets", "watch"]
]
# Set a higher stacktrace during development. Avoid configuring such
# in production as building large stacktraces may be expensive.
config :phoenix, :stacktrace_depth, 20
import_config "secret.exs"
import_config "dev.secret.exs"
diff --git a/config/prod.exs b/config/prod.exs
index e5d92db..2acf04f 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -1,13 +1,13 @@
use Mix.Config
-config :lsg, LSGWeb.Endpoint,
+config :nola, NolaWeb.Endpoint,
http: [ip: {0,0,0,0}, port: 4000]
config :logger_json, :backend,
metadata: :all
config :logger,
backends: [LoggerJSON]
import_config "secret.exs"
import_config "prod.secret.exs"
diff --git a/config/test.exs b/config/test.exs
index da7e605..618cbd5 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -1,10 +1,10 @@
use Mix.Config
# We don't run a server during test. If one is required,
# you can enable the server option below.
-config :lsg, LSGWeb.Endpoint,
+config :nola, NolaWeb.Endpoint,
http: [port: 4001],
server: false
# Print only warnings and errors during test
config :logger, level: :warn
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Mar 14, 4:20 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33598
Default Alt Text
(4 KB)
Attached To
rNOLA Nola
Event Timeline
Log In to Comment