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
bindirectory -
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.exampletopostgres.envand change the password to a secret one -
copy
/etc/odoo.conf.exampleto/etc/odoo.confand modify the config -
Set the correct permissions on de data + etc folder by running
mkdir data && chmod 777 -R dataandchmod 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