Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
odoo_docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
odoo_docker
Commits
d19c4b6b
Commit
d19c4b6b
authored
4 years ago
by
remi-filament
Browse files
Options
Downloads
Patches
Plain Diff
Add autoinstall FR lang in case DB does not exist
parent
f49fd8aa
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
entrypoint.sh
+2
-0
2 additions, 0 deletions
entrypoint.sh
odoo.conf
+1
-0
1 addition, 0 deletions
odoo.conf
with
3 additions
and
0 deletions
entrypoint.sh
+
2
−
0
View file @
d19c4b6b
...
@@ -32,6 +32,8 @@ export PGPASSWORD=$value
...
@@ -32,6 +32,8 @@ export PGPASSWORD=$value
if
!
psql
-l
|
grep
$PGDATABASE
;
then
if
!
psql
-l
|
grep
$PGDATABASE
;
then
echo
"Database
$PGDATABASE
does not exist"
echo
"Database
$PGDATABASE
does not exist"
DB_ARGS+
=(
"--load-language"
)
DB_ARGS+
=(
"fr_FR"
)
else
else
psql
-qc
'CREATE EXTENSION IF NOT EXISTS unaccent'
psql
-qc
'CREATE EXTENSION IF NOT EXISTS unaccent'
fi
fi
...
...
This diff is collapsed.
Click to expand it.
odoo.conf
+
1
−
0
View file @
d19c4b6b
...
@@ -28,6 +28,7 @@ db_name = odoo
...
@@ -28,6 +28,7 @@ db_name = odoo
;
smtp_server
=
localhost
;
smtp_server
=
localhost
;
smtp_ssl
=
False
;
smtp_ssl
=
False
;
smtp_user
=
False
;
smtp_user
=
False
unaccent
=
True
;
workers
=
0
;
workers
=
0
;
xmlrpc
=
True
;
xmlrpc
=
True
;
xmlrpc_interface
=
;
xmlrpc_interface
=
...
...
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