Coder Social home page Coder Social logo

kamingli1st / lawsroom Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denghongcai/lawsroom

0.0 2.0 0.0 34.4 MB

Group video chat on your browser. [No plugin required]

Home Page: https://lawsroom.com

License: MIT License

Shell 0.80% Go 14.54% HTML 41.58% CSS 22.13% JavaScript 20.95%

lawsroom's Introduction

lawsroom

Group video chat on your browser. [No Plugin Needed]

How to deploy

  1. Install packages
    $ cd public
    $ npm install
    $ ./node_modules/.bin/bower install
    $ ./node_modules/.bin/gulp js
    $ ./node_modules/.bin/gulp css
    $ ./node_modules/.bin/gulp browserify
    $ cd ../
    
  2. Start lawsroom
    $ sed -i s/lawsroom.com/YOUR_DOMAIN/ run.sh
    $ ./run.sh # or nohup ./run.sh &
    
  3. Start random
    $ cd random
    $ sed -i s/lawsroom.com/YOUR_DOMAIN/ run.sh
    $ ./run.sh # or nohup ./run.sh &
    
  4. Configure nginx
    server {
        listen      443 ssl http2;
        server_name  YOUR_DOMAIN;
        ssl                  on;
        ssl_certificate      YOUR_CERT;
        ssl_certificate_key  YOUR_KEY;
        location / {
            proxy_pass http://127.0.0.1:1906;
            proxy_redirect    off;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header Host $host;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }
        location /signal/_/ {
            proxy_pass http://127.0.0.1:1906;
    
            proxy_redirect    off;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header Host $host;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
        }
        location /signal/r/ {
            proxy_pass http://127.0.0.1:1907;
    
            proxy_redirect    off;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header Host $host;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
        }
    }
    

lawsroom's People

Contributors

txthinking avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.