Skip to content

install on buddycloud-vm #34

@robotnic

Description

@robotnic

install

The angular-xmpp client has no server component. It's possible to use nginx to serve these files

Install in buddycloud-vm

cd /opt 
bower install angular-xmpp 

or

git clone git@github.com:robotnic/angular-xmpp.git

nginx configuration

server { 
  server_name buddycloud.dev;
  listen 80;
  location /api/ {
      proxy_pass http://127.0.0.1:9123/; 
  } 
  location / { 
     proxy_pass http://127.0.0.1:3000/; 
     proxy_http_version 1.1; 
     proxy_set_header Upgrade $http_upgrade; 
    proxy_set_header Connection "upgrade"; 
 } 
 location /bin/ { 
     root /opt/bower_components/angular-xmpp/;
 }
} 

restart nginx

/etc/init.d/nginx restart  

open the client

http://localhost:3000/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions