software:streamingwebsite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:streamingwebsite [2016/10/11 16:41] – [add a new conference] andisoftware:streamingwebsite [2026/08/31 20:29] (current) andi
Line 1: Line 1:
-Streaming website +Streaming website 
-  https://github.com/voc/streaming-website+---- dataentry project ---- 
 +name : streaming-website 
 +project-owner : 
 +git-url_url : https://github.com/voc/streaming-website 
 +project-description : website to playout the video streams 
 +project-owner :  
 +project-member :  
 +project-status_ : in production 
 +----
  
-== add a new conference 
-The side is deployed on lb.dus.c3voc.de (currently a vm on dus). 
  
-To add another conference: clone the internal git on your maschine  +## add a new conference
-  git clone git@c3voc.de:streaming-website.git +
-  +
-1. create a new folder below ''/configs/conferences'' +
-   +
-2. copy the following files from the most recent conference and edit it to your needs+
  
-  * config.php +The streaming website is deployed on `lb.***.c3voc.de`
-  download.sh +
-  main.less +
-    if not main.less is provided, the default-theme will be used +
-    * if one is provided, it should ''@import "../../../assets/css/_structure.less";'' which will pull in all required basic styles +
-    * assets (images, fonts) can be placed inside the conference-folder or below it and can be referenced with a relative path (so a logo in ''/configs/conferences/lala/assets/logo.png'' can be referenced as ''url(assets/logo.png)'' from ''/configs/conferences/lala/main.less)''+
  
-3commit and push you changes to master+To add another conference / mandator: fork on github/clone the repository on your machine 
 +```sh 
 +git clone https://github.com/voc/streaming-website.git 
 +```
  
-4use deploy.sh or login to the site host and pull the repo as 'root'+  - first check if the series already has a mandator folder and reuse the existing one – otherwise create a new folder below ''/configs/conferences/<slug>'' where the mandator slug normally should not contain any numbers for years, conference numbers, etcso it can be reused next year without renaming it. 
 +  - copy the following files from the most recent conference and edit it to your needs 
 +    * config.json 
 +    * main.less 
 +      * if no main.less is provided, the default-theme will be used 
 +      * if one is provided, it should ''@import "../../../assets/css/_structure.less";'' which will pull in all required basic styles 
 +      * assets (images, fonts) can be placed inside the conference-folder or below it and can be referenced with a relative path (so a logo in ''/configs/conferences/<slug>/assets/logo.png'' can be referenced as ''url(assets/logo.png)'' from ''/configs/conferences/<slug>/main.less)'' 
 +   - commit and push you changes to `master` 
 +   - call deploy.sh which will deploy to all lb-servers, clear their caches and fixes the file-permissions
  
 +See also: https://github.com/voc/streaming-website/blob/master/README.md#konfiguration
  
  
-  ssh voc@lb.dus.c3voc.de +## now streaming banner on media.ccc.de
-  cd /srv/nginx/streaming-website +
-  git pull origin master +
-  chown -R voc:staff . +
-  chown -R downloader configs +
-  ./clear_cache+
  
 +To highlight the live streams on media.ccc.de's start page, you simply create the conference in the admin interface. Of course the acronym has to be exactly same as in the streaming-website. Voctoweb queries the streaming-website API every 10? minutes.
  
-5. make sure that the conference directory is group writable ( ''chmod g+w'' ) and that it belongs to the group 'downloader' to make schedule/relive-downloads work 
  
-See also: https://github.com/voc/streaming-website/blob/master/README.md#konfiguration+## operation hints 
 +You can add  ''?forceopen=yes'' to the stream websiteURL to see all open conferences e.g. http://streaming.media.ccc.de/fossgis/?forceopen=yes
  
-== operation hints +The streaming-website downloads the relive index json file of the active conferences via cronjob.
-You can add  ''?forceopen=yess'' to the stream websiteURL to see all open conferences e.g. http://streaming.media.ccc.de/foss4g-2016/?forceopen=yess+
  
-TODO Translate:  +The thumbnails are generated via crontab of user //downloader// on each lb-server.
-* die streaming-website hat einen cronjob, der sich das relive-manifest runterzieht. das iteriert aber automatisch ueber alle existierenden konferenzen. pro konferenz muss da nur die download.sh richtig angelegt werden (siehe existierende configs)+
  • software/streamingwebsite.1476204105.txt.gz
  • Last modified: 2016/10/11 16:41
  • by andi