OpenSPP / openspp-docker

Docker setup of the project
GNU Lesser General Public License v3.0
24 stars 1 forks source link

Regarding OpenSPP setup #22

Open ishwarkamthe2 opened 8 months ago

ishwarkamthe2 commented 8 months ago

As per instructions given from Documentation v1.1 According to Development setup I followed below steps:

Setup 1)Follow the official Odoo installation guide suitable for your Operating System.Link

2)Inside the Odoo folder, create a new directory named custom.

3)Other Odoo repositories or Odoo modules should be added to the “custom” folder.

4)Navigate to “custom” and git clone all of the following repositories and their corresponding branches:

git clone –branch 15.0 https://github.com/OCA/connector.git

git clone –branch 15.0 https://github.com/OCA/dms.git

git clone –branch 15.0-1.0-develop https://github.com/OpenG2P/openg2p-program.git

git clone –branch 15.0-1.0-develop https://github.com/OpenG2P/openg2p-registry.git

git clone –branch 15.1.1-mono-repo https://github.com/OpenSPP/openspp-registry.git

git clone –branch 15.0 https://github.com/OCA/queue.git

git clone –branch 15.0 https://github.com/OCA/rest-framework.git

git clone –branch 15.0 https://github.com/OCA/server-auth.git

git clone –branch 15.0 https://github.com/OCA/server-backend.git

git clone –branch 15.0 https://github.com/Smile-SA/odoo_addons.git

git clone –branch 15.0 https://github.com/OCA/social.git

git clone –branch 15.0 https://github.com/OCA/web.git

5)`pip install the requirements in requirements.txt in each of the repositories if there is a requirements.txt.

6)Open odoo.conf in a preferred IDE and add in the addons_path the absolute path of the “custom” folder

e.g. addons_path = /Users/username/odoo/addons,/Users/username/odoo/custom

7)Execute python3 odoo-bin -c odoo.conf to run Odoo.

8)Open http://localhost:8069/ in a browser to use OpenSPP.

At step no.6 i could not found specific odoo.conf to add an "addons_path" so i added it in "/opt/odoo/custom/odoo/conf/" init.py

after that i followed step 7 and step 8 it supposed to open OpenSPP interface instead it opened odoo platform is it right?? or do i have to follow any other steps too please help.

PonnagantiDeepthi commented 8 months ago

Installing using Docker for development

You need to have Docker and docker-compose installed on your system. You also need to have Python installed and pip packages invoke and pre-commit.

$ git clone git@github.com:openspp/openspp-docker.git $ invoke develop img-pull img-build git-aggregate resetdb start Then open http://localhost:15069/ in your browser.

I have followed these steps and at final I got the output like WARN[0000] /home/dtuser/openspp-docker/docker-compose.yml: version is obsolete [+] Running 12/0 ✔ Container openspp-docker-wdb-1 Running 0.0s ✔ Container openspp-docker-proxy_www_googleapis_com-1 Running 0.0s ✔ Container openspp-docker-proxy_cdnjs_cloudflare_com-1 Running 0.0s ✔ Container openspp-docker-proxy_www_gravatar_com-1 Running 0.0s ✔ Container openspp-docker-proxy_fonts_gstatic_com-1 Running 0.0s ✔ Container openspp-docker-proxy_fonts_googleapis_com-1 Running 0.0s ✔ Container openspp-docker-proxy_www_google_com-1 Running 0.0s ✔ Container openspp-docker-db-1 Running 0.0s ✔ Container openspp-docker-pgweb-1 Running 0.0s ✔ Container openspp-docker-smtp-1 Running 0.0s ✔ Container openspp-docker-odoo-1 Running 0.0s ✔ Container openspp-docker-odoo_proxy-1 Running 0.0s WARN[0000] /home/dtuser/openspp-docker/docker-compose.yml: version is obsolete [+] Restarting 2/2 ✔ Container openspp-docker-odoo-1 Started 0.9s ✔ Container openspp-docker-odoo_proxy-1 Started

When I access the url it is not accessed