How to setup an environment with this docker?
First you have to clone this repo (obviously), and then you have to follow these steps:
-
go to the
bin
directory -
run
sh install.sh
; by running this command, we load all the repo's we need (and checkout on the right branch or commit) -
copy
postgres.env.example
topostgres.env
and change the password to a secret one -
copy
/etc/odoo.conf.example
to/etc/odoo.conf
and modify the config -
Set the correct permissions on de data + etc folder by running
mkdir data && chmod 777 -R data
andchmod 777 -R etc
Now we are done configuring, and we can start docker:
docker-compose up -d
or for development docker-compose -f docker-compose.development.yml up -d