mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Improving the get restream credentials
This commit is contained in:
parent
654dda115a
commit
56cb1fd5cb
6058 changed files with 1166166 additions and 1430809 deletions
40
node_modules/mux.js/scripts/netlify.js
generated
vendored
40
node_modules/mux.js/scripts/netlify.js
generated
vendored
|
@ -1,20 +1,20 @@
|
|||
const shell = require('shelljs');
|
||||
|
||||
// clone vhs
|
||||
shell.exec('git clone https://github.com/videojs/http-streaming');
|
||||
shell.cd('http-streaming');
|
||||
|
||||
// install vhs and link in the local version of mux.js
|
||||
shell.exec('npm ci');
|
||||
shell.exec('npm link ../');
|
||||
|
||||
// run the vhs netlify script so that we can use
|
||||
// the vhs netlify page with this local mux.js
|
||||
shell.exec('npm run netlify');
|
||||
|
||||
// move the vhs deploy directory to the project root
|
||||
shell.cp('-R', 'deploy', '../');
|
||||
|
||||
// cleanup by removing the cloned vhs directory
|
||||
shell.cd('..');
|
||||
shell.rm('-rf', 'http-streaming');
|
||||
const shell = require('shelljs');
|
||||
|
||||
// clone vhs
|
||||
shell.exec('git clone https://github.com/videojs/http-streaming');
|
||||
shell.cd('http-streaming');
|
||||
|
||||
// install vhs and link in the local version of mux.js
|
||||
shell.exec('npm ci');
|
||||
shell.exec('npm link ../');
|
||||
|
||||
// run the vhs netlify script so that we can use
|
||||
// the vhs netlify page with this local mux.js
|
||||
shell.exec('npm run netlify');
|
||||
|
||||
// move the vhs deploy directory to the project root
|
||||
shell.cp('-R', 'deploy', '../');
|
||||
|
||||
// cleanup by removing the cloned vhs directory
|
||||
shell.cd('..');
|
||||
shell.rm('-rf', 'http-streaming');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue