Skip to content

kelly-chen91/cse356-project

Repository files navigation

cse356-project

A video server implemented for infinite scrolls. 😎

Upon starting a server fresh

Run the following to set up and download all dependencies.

./setup.sh

Start the service

docker-compose up -d --build

For monitoring server backend

docker logs node -f

Start processing videos

  1. Go to the scripts directory.
    cd scripts
    
  2. Get the videos from grading server.
    ./getVids.sh
    
  3. Pad the videos
    ./pad_video.sh
    
  4. Generate thumbnails for videos.
    ./gen-thumbnail.sh
    
  5. Process the padded videos into streamable chunks. (Warning: this process takes a significant long time.)
    ./manifest.sh
    

Populate Initial Videos

To populate the database with JSON data, first cd back to cse356-project/scripts and then do node populateDB.js

You can change the json file you want to populate in .env file.

Nginx Certbot

Look at the documentation to set up Nginx with Certbot.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •