Fork me on GitHub

Demo Installation

Menu

Introduction

For this demo you will use Elasticsearch as search engine. We are also compatible with Algolia, but it’s not the purpose of this quick setup.

With that project you already have a docker container with

  • an odoo server (with a postgresql database)
  • a locomotive server (with a mongodb database)
  • an elastic server for indexing your data
  • a docker image with wagon cli inside

In real case your Odoo, Locomotive and Elastic application will be installed on remote server. Wagon is the only required tools for developping a website.

Requirement

Before starting, you need to make sure your system has docker and docker compose.

If it is not the case, please refer to :

Installation with docker images

these steps will allow you to have a full Shopinvader instance with Odoo, Locomotive and Elasticsearch using Docker.

To get started, you need to clone the shopinvader-getting-started repository

git clone https://github.com/shopinvader/shopinvader-getting-started.git

Start docker:

cd shopinvader-getting-started

docker-compose up

This might take several minutes, as it will setup everything.

If you have the following message

Bind for 127.0.0.1:80 failed: port is already allocated

Please do not change the port in the docker-compose file but instead stop the service that use this port on your server (maybe apache, nginx or traefik). Everything in the demo have been configured for running on port 80.

Use `docker-compose up -d` if you want to use your terminal while the server is up. You can then use `docker-compose down` to stop it.

Couldn't connect to Docker daemon at http+docker://localunixsocket

  • is it running?
  • use sudo , but you should prefer adding your user to the docker group for continued use.

Now we have running Odoo and Shopinvader instances. The frontend website will not work yet correctly as we need to push some configuration from odoo

Menu
A notice about cookies

By allowing these third party services, you accept their cookies and the use of tracking technologies necessary for their proper functioning.

See all options