Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.47 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.47 KB

Video backup

A web application written in Rust and TypeScript that helps making personal backups of videos with youtube-dl application.

Screenshot

Requirements

Building and running

  1. Install dependencies: npm install
  2. Build frontend: npm run build
  3. Then build backend and run it: cargo run
  4. Video backup server starts in http://localhost:3000

Development

Open three terminal windows and run the following commands:

Terminal #1 Build and start backend with: cargo run

Terminal #2 Start proxy server: node proxy.js

Terminal #3 Start brunch in watch mode: npm start

Open browser to http://localhost:3333

Directory structure

app        - Frontend code
app/assets - Asset files that are just copied under /public directory
src        - Backend code
public     - Brunch build frontend code here. Do not modify this
             directory's contents manually.
typings    - TypeScript typings

Running in Docker container

Docker and Docker compose are required.

For starting up the container run docker-compose up

And for stopping run docker-compose stop