Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3758 Lượt xem

I will try to install and setup Instant Messaging for v7 using www.bitbucket.org/anybox/web_im. I am need internal messaging first (not sure whether that is possible) hopefully without using Nginx or so. I' try to make a howto if I suceed using this thread. Hopefully I'll get some help to get it done on the way.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

this answer is a WORK IN PROGRESS. I'll need help to get it good

 

1. install mercurial on your linux server (so you can clone the modules you need from bitbucket)

sudo apt-get install mercurial

2. clone web_im, web_socketio, web_longpolling    (NOTE web_longpolling is included in the web_socketio repository)

sudo hg clone https://bitbucket.org/anybox/web_im

sudo hg clone https://bitbucket.org/anybox/web_socketio

https://bitbucket.org/anybox/web_im  comes with a howto which I am trying to understand and follow.

 

Make your Nginx/Apache conf

example conf for nginx:

worker_processes 1;

 

events {

        worker_connections 1024;

}

 

http {

    server {

        listen 80;

        server_name www.myopenerp.fr;

        location /socket.io {

            proxy_pass http://127.0.0.1:8068; proxy_http_version 1.1;

 

            proxy_set_header Upgrade $http_upgrade;

            proxy_set_header Connection "upgrade";

            proxy_set_header Host $host;

 

            proxy_set_header X-Real-IP $remote_addr;

            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            proxy_set_header X-Forwarded-Proto https;

 

            proxy_redirect off;

        }

       location / {

            proxy_pass http://127.0.0.1:8069;

            }

        }

    }

 

/etc/hosts:

127.0.0.1 www.yourdomian.com

the port:

8069: the OpenERP server

8068: the SocketIO server

/socketio is the default path to dispatch the poll

--------------------------

first serious problem: I have no clue about Nginx (only know you can use that for making OpenERP accessable from the internet (reverse proxy). I wonder whether this http://www.schenkels.nl/2013/01/reverse-ssl-proxy-using-nginx-with-openerp-v7/ would help getting where you need to get?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
4994
1
thg 3 15
6747
1
thg 3 15
4314
3
thg 12 23
29548
0
thg 3 15
4468