|
|
@ -9,10 +9,12 @@ ReCast is a multi platform streaming tool written in PHP and uses nginx RTMP. Yo |
|
|
|
* You have to install a nginx server with rtmp support to ```/opt/nginx-rtmp/``` or something else |
|
|
|
* You have to install a nginx server with rtmp support to ```/opt/nginx-rtmp/``` or something else |
|
|
|
* Checkout this project, copy .env.dist to .env and adjust the settings |
|
|
|
* Checkout this project, copy .env.dist to .env and adjust the settings |
|
|
|
* Run ```composer install --no-dev -o``` |
|
|
|
* Run ```composer install --no-dev -o``` |
|
|
|
|
|
|
|
* Generate JWT Keys, following [Documentation](https://github.com/lexik/LexikJWTAuthenticationBundle/blob/HEAD/Resources/doc/index.md#installation) |
|
|
|
* Create the database ```php bin/console doctrine:schema:create``` |
|
|
|
* Create the database ```php bin/console doctrine:schema:create``` |
|
|
|
* Go to ``public/theme``, run ``npm install`` and copy the generated files to public (``cp -R static ..``) |
|
|
|
* Go to ``public/theme``, run ``npm install`` and copy the generated files to public (``cp -R static ..``) |
|
|
|
* Create a new crontab entry which runs every minute ```php bin/console recast:cron``` |
|
|
|
* Create a new crontab entry which runs every minute ```php bin/console recast:cron``` |
|
|
|
* Create a new user with ```php bin/console recast:create:user``` |
|
|
|
* Create a new user with ```php bin/console recast:create:user``` |
|
|
|
|
|
|
|
* Environment variable ``APP_HOST`` should point to a http server, nginx rtmp does not support https. |
|
|
|
|
|
|
|
|
|
|
|
**Docker Setup will be following** |
|
|
|
**Docker Setup will be following** |
|
|
|
|
|
|
|
|
|
|
|