Django app for hosting and streaming large videos. (courses & movies)
- Clone the GitHub repository:
$ git clone https://github.com/NickKipshidze/mrrobot-site
- CD into the project directory:
$ cd mrrobot-site
- Create a new Python virtual environment and activate it (optional):
$ python -m venv .venv
- Install the dependencies:
$ pip install -r requirements.txt
- Configure sources in
settings.py
. Example configuration:SOURCES = ["/home/user/Documents", "/home/user/Videos"]
- Run the server:
$ python manage.py runserver 127.0.0.1:8000
-
Make the certificates directory:
$ mkdir certs
-
Generate the certificate:
$ openssl req -x509 -newkey rsa:4096 -keyout ./certs/key.pem -out ./certs/cert.pem -days 365 -nodes
-
Run the server:
$ gunicorn --certfile=./certs/cert.pem --keyfile=./certs/key.pem -b 0.0.0.0:8000 mrrobot.wsgi:application
Enjoy your suspicious website with an invalid SSL certificate.
On the home page there are directories of SOURCES
listed. If there is file called .mrignore
in a directory it doesnt list it.
Site design may change often.