Skip to content

Get Start

Yuqing Jiang edited this page Nov 9, 2017 · 5 revisions

Get Start

  • clone the project
  • Install Lerna global.
npm install --global lerna
  • run the init shell
./scripts/init.sh
  • Bootstrap lerna
lerna bootstrap

Nginx config

server {
        listen       80;
        server_name  mccree.panda.tv;

        charset utf8;

        #access_log  logs/host.access.log  main;
        add_header 'Access-Control-Expose-Headers' 'Location';

        root [local path to mccree]/packages/panda-mccree-live;

        location / {
            index index.html;
        }
}

Then visit mccree.panda.tv/demo

To use panda video resource, you have to config server_name as *.panda.tv, otherwise, you can use localhost or something else.

Clone this wiki locally