Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Functional Programming
Diskuy-Backend
Commits
dad60f1e
Commit
dad60f1e
authored
Feb 10, 2021
by
Muhammad Rafif Elfazri
Browse files
Push dev.exs file
parent
cc9f8c84
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
dad60f1e
...
...
@@ -27,4 +27,3 @@ diskuy-*.tar
# this depending on your deployment strategy.
/priv/static/
dev.exs
config/dev.exs
0 → 100755
View file @
dad60f1e
use
Mix
.
Config
# Configure your database
config
:diskuy
,
Diskuy
.
Repo
,
username:
"rafif"
,
password:
"rafif123"
,
database:
"diskuy_dev_new"
,
hostname:
"localhost"
,
show_sensitive_data_on_connection_error:
true
,
pool_size:
10
# 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 webpack to recompile .js and .css sources.
config
:diskuy
,
DiskuyWeb
.
Endpoint
,
http:
[
port:
4000
],
debug_errors:
true
,
code_reloader:
true
,
check_origin:
false
,
watchers:
[]
# ## SSL Support
#
# In order to use HTTPS in development, a self-signed
# certificate can be generated by running the following
# Mix task:
#
# mix phx.gen.cert
#
# Note that this task requires Erlang/OTP 20 or later.
# Run `mix help phx.gen.cert` for more information.
#
# The `http:` config above can be replaced with:
#
# https: [
# port: 4001,
# cipher_suite: :strong,
# keyfile: "priv/cert/selfsigned_key.pem",
# certfile: "priv/cert/selfsigned.pem"
# ],
#
# If desired, both `http:` and `https:` keys can be
# configured to run both http and https servers on
# different ports.
# Do not include metadata nor timestamps in development logs
config
:logger
,
:console
,
format:
"[$level] $message
\n
"
# Set a higher stacktrace during development. Avoid configuring such
# in production as building large stacktraces may be expensive.
config
:phoenix
,
:stacktrace_depth
,
20
# Initialize plugs at runtime for faster development compilation
config
:phoenix
,
:plug_init_mode
,
:runtime
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment