This project was created to redesign the Livestream and VoD website of the RBG-Multimedia group (live.rbg.tum.de).
This project is available at live.tum.sexy or stream.tum.sexy.
It uses HTML-Scraping to get the necessary information from the original page and then wraps it into a modern, dark-themed UI.
Currently, you can watch live streams and VoDs via the custom UI. Archives are not covered yet.
- Download Button
- Custom Window Management (Drag and Drop Windows)
If you want to contribute, please create a pull request and just wait for it to be reviewed ;)
There are two main ways of developing for this Project. Native has the advantage of speed and Docker the advantage of how easy it is to get started. Doing the final tests in Docker is recommended, because we use Docker in production.
Install
- npm
- composer
- PHP
- Apache
- apcu (choose the version that is compatible with your PHP-version and system)
Install dev-dependencies using
sudo apt install apache php libapache2-mod-php php-apcu npm composer
Add inside VirtualHost
<Directory /var/www/html>
AllowOverride All
Require all granted
</Directory>
to the configuration-file at /etc/apache2/sites-available/000-default.conf
Create a file /etc/php/PHPVERSION/apache2/conf.d/apcu.ini
where PHPVERSION
is your current PHP-Release. The content of this file should be
extension=apcu.so
sudo a2enmod rewrite php[7.4]
sudo systemctl restart apache2.service
sudo chown $USER /var/www/html
git clone https://github.com/TUM-Dev/RBGreaterAgain.git /var/www/html
All the dependencies can be installed by running in /var/www/html
:
npm install
composer install
Install Docker
docker build -t rgbreateragain .
docker run -p 7000:80 rgbreateragain
You can now go to localhost:7000 and test, if the server works.