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/09/29 11:13] – [add a new conference] typos mazdermindsoftware:streamingwebsite [2024/02/21 22:23] (current) andi
Line 1: Line 1:
 = Streaming website = Streaming website
-  * [[ https://github.com/voc/streaming-website | public github link ]]+---- dataentry project ---- 
 +name : streaming-website 
 +project-owner : 
 +git-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 lb1.het.c3voc.de (currently a vm on dus). 
  
-To add another conference: clone the internal git +== add a new conference 
 + 
 +The streaming website is deployed on lb.***.c3voc.de  
 + 
 +To add another conference / mandator: clone the internal git on your machine 
   git clone git@c3voc.de:streaming-website.git   git clone git@c3voc.de:streaming-website.git
    
-1. create a new folder below /configs/conferences+1. 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, etc. so it can be reused next year without renaming it. 
      
 2. copy the following files from the most recent conference and edit it to your needs 2. copy the following files from the most recent conference and edit it to your needs
  
-  * config.php +  * <del>config.php</del> config.json 
-  * download.sh+  * <del>download.sh</del> no longer needed
   * main.less   * main.less
     * if not main.less is provided, the default-theme will be used     * 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 +    * 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.pngcan be referenced as `url(assets/logo.png)from `/configs/conferences/lala/main.less`)+    * 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)'' 
 + 
 +3. commit and push you changes to `master` 
 + 
 +4. 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 
  
-3commit and push you changes to master+== now streaming banner on media.ccc.de
  
-4login to the site host and pull the repo as 'root'+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 
  
 == operation hints == operation hints
-You can add  `?forceopen=yessto the stream websiteURL to see all open conferences e.g. http://streaming.media.ccc.de/foss4g-2016/?forceopen=yess+You can add  ''?forceopen=yess'' to the stream websiteURL to see all open conferences e.g. http://streaming.media.ccc.de/fossgis/?forceopen=yess
  
 +The streaming-website downloads the relive index json file of the active conferences via cronjob.
  
 +The thumbnails are generated via crontab of user //downloader// on each lb-server.
  • software/streamingwebsite.1475140389.txt.gz
  • Last modified: 2016/09/29 11:13
  • by mazdermind