Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Diskuy-Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Functional Programming
Diskuy-Backend
Commits
dad60f1e
Commit
dad60f1e
authored
4 years ago
by
Muhammad Rafif Elfazri
Browse files
Options
Downloads
Patches
Plain Diff
Push dev.exs file
parent
cc9f8c84
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+0
-1
0 additions, 1 deletion
.gitignore
config/dev.exs
+57
-0
57 additions, 0 deletions
config/dev.exs
with
57 additions
and
1 deletion
.gitignore
+
0
−
1
View file @
dad60f1e
...
...
@@ -27,4 +27,3 @@ diskuy-*.tar
# this depending on your deployment strategy.
/priv/static/
dev.exs
This diff is collapsed.
Click to expand it.
config/dev.exs
0 → 100755
+
57
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment