Skip to content

nickkipshidze/mrrobot-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MrRobot Site

Django app for hosting and streaming large videos. (courses & movies)

Running the code

  1. Clone the GitHub repository:
    $ git clone https://github.com/NickKipshidze/mrrobot-site
  2. CD into the project directory:
    $ cd mrrobot-site
  3. Create a new Python virtual environment and activate it (optional):
    $ python -m venv .venv
  4. Install the dependencies:
    $ pip install -r requirements.txt
  5. Configure sources in settings.py. Example configuration:
    SOURCES = ["/home/user/Documents", "/home/user/Videos"]
  6. Run the server:
    $ python manage.py runserver 127.0.0.1:8000

Setting up SSL (self-signed)

  1. Make the certificates directory:

    $ mkdir certs
  2. Generate the certificate:

    $ openssl req -x509 -newkey rsa:4096 -keyout ./certs/key.pem -out ./certs/cert.pem -days 365 -nodes
  3. 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.

Website preview

Home page

Home page preview

On the home page there are directories of SOURCES listed. If there is file called .mrignore in a directory it doesnt list it.

Directory listing page

Listing page preview

Site design may change often.

About

Django app for hosting and streaming large videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published