Skip to content

Instantly share code, notes, and snippets.

@macagua
Last active October 4, 2022 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macagua/838221bfaa8043d7b92a4b9108c0373f to your computer and use it in GitHub Desktop.
Save macagua/838221bfaa8043d7b92a4b9108c0373f to your computer and use it in GitHub Desktop.
Install Odoo 8.0, Postgres 9.4, pgweb and wdb for Development environment

Install Postgres 9.4

Executing the following command:

$ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres \
         --name challenge_db postgres:9.4

Install Postgres client web

Executing the following command:

$ docker run -d -e DATABASE_URL=postgres://odoo:odoo@challenge_db:5432/postgres?sslmode=disable \
         -p 8081:8081 --link challenge_db:db --name challenge_pgweb sosedoff/pgweb

Install Odoo 8.0

Executing the following command:

$ docker run -v ~/path/to/project/extra/addons:/mnt/extra-addons \
         -v ~/path/to/project/log:/var/log/odoo \
         -v ~/path/to/project/etc:/etc/odoo \
         -p 8069:8069 --name challenge_web --link challenge_db:db -t odoo:8.0

Install Python Web debugger wdb

Executing the following command:

$ docker run -d -e WDB_SOCKET_SERVER=challenge_wdb -e WDB_NO_BROWSER_AUTO_OPEN=1 \
         -e WDB_WEB_SERVER="127.0.0.1" -e WDB_WEB_PORT="8084" \
         -p 8084:1984 --name challenge_wdb kozea/wdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment