A video server implemented for infinite scrolls. 😎
Run the following to set up and download all dependencies.
./setup.sh
docker-compose up -d --build
For monitoring server backend
docker logs node -f
- Go to the scripts directory.
cd scripts
- Get the videos from grading server.
./getVids.sh
- Pad the videos
./pad_video.sh
- Generate thumbnails for videos.
./gen-thumbnail.sh
- Process the padded videos into streamable chunks. (Warning: this process takes a significant long time.)
./manifest.sh
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.
Look at the documentation to set up Nginx with Certbot.