Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 735 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 735 Bytes

offline-content

Server for simple browsing and playing of offline multimedia in intranet.

  1. Install django

  2. Create some admin user to use with your local db

    python manage.py createsuperuser

  3. Run the server on all interfaces (will use localhost otherwise)

    python manage.py runserver 0.0.0.0:8000

  4. Go do /admin to add a directory. Just add the path

Paths in the browser

  • browse/ - lists all dirs
  • browse/dir/<dir_id> - list of served dirs on server
  • browse/show/<file_id> - opens player for video file or web pdf reader
  • browse/raw/ - raw serving of the file (with streaming response)
  • browse/raw//stream - raw serving of the file (with streaming)
  • admin - django native ui to modify dirs