Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Latest commit

 

History

History
66 lines (49 loc) · 1.67 KB

Readme.md

File metadata and controls

66 lines (49 loc) · 1.67 KB

RGB-live

This project was created to redesign the Livestream and VoD website of the RBG-Multimedia group. This project will be available at live.rbg.tum.de.
Major Features include a modern UI with dark-mode Support and a Live-Chat.

Contribution

If you want to contribute, please create a pull request and just wait for it to be reviewed ;)

Getting started with development

The following guide is optiomised for Linux. On native-Windows installing some things is more tedious and requires the respective installers. We recommend you use WSL2 for this reason.

Clone the Project using

git clone https://github.com/TUM-Dev/rbg-live.git
cd rbg-live

Install system dependencies (on a Debian-like system)

sudo apt-get update
sudo apt-get install -y python3-pip python3-venv npm

Install Python dependencies in an virtual environment

python3 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt

Frontend

All nessesary files can be build and installed using

./build.sh

Backend

Create a file in backend-django/rbg_live/ named .env in this File add

DEBUG=True
SECRET_KEY="SECRET"

This file represents your environment-options present when launching the backend server.

Create the SQLite-database by running the following command

python3 backend-django/manage.py migrate

Start the local webserver

python3 backend-django/manage.py runserver

You can now visit http://localhost:8000/ in your browser to access the project.