Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
149
Issues
149
List
Board
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
cc45f765
Commit
cc45f765
authored
Jun 15, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADM!] clean ini file. Breaking ini configuration.
parent
2e33cf4a
Pipeline
#882
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
17 deletions
+4
-17
gargantext.ini_toModify
gargantext.ini_toModify
+3
-16
Prelude.hs
src/Gargantext/Database/Prelude.hs
+1
-1
No files found.
gargantext.ini_toModify
View file @
cc45f765
[gargantext]
[gargantext]
MASTER_USER = gargantua
MASTER_USER = gargantua
[django]
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
# SECURITY WARNING: keep the secret key used in production secret!
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = PASSWORD_TO_CHANGE
SECRET_KEY = PASSWORD_TO_CHANGE
# Space-separated list of hosts
ALLOWED_HOSTS = localhost
[database]
# Time-zone, possible values here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TIME_ZONE = Europe/Paris
# PostgreSQL access
# PostgreSQL access
DB_HOST = 127.0.0.1
DB_HOST = 127.0.0.1
DB_PORT = 5432
DB_PORT = 5432
...
@@ -18,13 +12,6 @@ DB_NAME = gargandbV5
...
@@ -18,13 +12,6 @@ DB_NAME = gargandbV5
DB_USER = gargantua
DB_USER = gargantua
DB_PASS = PASSWORD_TO_CHANGE
DB_PASS = PASSWORD_TO_CHANGE
# Logs
# Logs
LOG_FILE = /var/log/gargantext/backend
/django
.log
LOG_FILE = /var/log/gargantext/backend.log
LOG_LEVEL = DEBUG
LOG_LEVEL = DEBUG
LOG_FORMATTER = verbose
LOG_FORMATTER = verbose
# Pidfile of django backend test server
TESTSERVER_PIDFILE = /tmp/gargantext_testserver.pid
# Celery
CELERYD_PID_FILE = /tmp/celery.pid
CELERYD_LOG_FILE = /var/log/gargantext/backend/celery.log
CELERYD_LOG_LEVEL = DEBUG
src/Gargantext/Database/Prelude.hs
View file @
cc45f765
...
@@ -121,7 +121,7 @@ databaseParameters fp = do
...
@@ -121,7 +121,7 @@ databaseParameters fp = do
Left
e
->
panic
(
pack
$
"No ini file error"
<>
show
e
)
Left
e
->
panic
(
pack
$
"No ini file error"
<>
show
e
)
Right
ini'
->
ini'
Right
ini'
->
ini'
let
val
x
=
case
(
lookupValue
(
pack
"d
jango
"
)
(
pack
x
)
ini''
)
of
let
val
x
=
case
(
lookupValue
(
pack
"d
atabase
"
)
(
pack
x
)
ini''
)
of
Left
_
->
panic
(
pack
$
"no"
<>
x
)
Left
_
->
panic
(
pack
$
"no"
<>
x
)
Right
p'
->
unpack
p'
Right
p'
->
unpack
p'
...
...
Write
Preview
Markdown
is supported
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