Skip to content

Build & Run (Local)

How to run VideoReview directly on a server, without Docker.
video-review-cli installs and runs the zip published with each release.

Note: the zip is built for Linux (x64) and Windows (x64).


  • Node v24
  • PostgreSQL
  • ffmpeg (used to convert videos; put the ffmpeg command on PATH)

Create the install folder and work in it.

Terminal window
# Linux
curl -L -o video-review-cli https://github.com/arita-yuto/video-review/releases/latest/download/video-review-cli-linux-amd64
chmod +x video-review-cli
# Windows
curl.exe -L -o video-review-cli.exe https://github.com/arita-yuto/video-review/releases/latest/download/video-review-cli-windows-amd64.exe
# Linux / Windows
curl -L -o .env https://raw.githubusercontent.com/arita-yuto/video-review/main/.example.env

Set DATABASE_URL to your PostgreSQL connection URL.

Terminal window
DATABASE_URL="postgresql://user:password@localhost:5432/videoreview"

In production, set VIDEO_REVIEW_LOCAL_ROOTDIR to where videos are stored (create the folder first).

Terminal window
VIDEO_REVIEW_LOCAL_ROOTDIR="/path/.../..."

When it is empty or the folder does not exist, videos go to uploads in the install folder.
Videos then pile up next to the app, which makes capacity hard to manage.

Terminal window
./video-review-cli upgrade

This installs the latest release and starts the web and the worker.
It is done when … is running appears.

Open http://localhost:3489 and register the first administrator (Admin Screen Guide).


Terminal window
./video-review-cli start
./video-review-cli stop

The web and the worker run in the background, and their logs go to logs.
After the OS restarts, start them with start.


Terminal window
./video-review-cli upgrade

This installs the latest release and replaces the web, the worker and video-review-cli.
If it does not start, the previous release runs again.

You can also update from the admin screen (General).

Note: after editing .env, run ./video-review-cli stop and then start to load it again.


Name Meaning
video-review-cli The CLI of the latest release
.env Settings
secrets The encryption key (without it, saved tokens can no longer be read)
uploads Uploaded files (when VIDEO_REVIEW_LOCAL_ROOTDIR is empty)
releases Unpacked releases (the running one and the two newest are kept)
current The running release
run Process IDs of the running web and worker
logs web.log, worker.log, upgrade.log
  1. Stop the current server.
  2. Download video-review-cli into the new folder (Download; skip .env).
  3. Move .env, secrets and uploads from the current folder to the new one.
  4. Run ./video-review-cli upgrade in the new folder.

Note: uploads exists only if VIDEO_REVIEW_LOCAL_ROOTDIR was not set.

Terminal window
cp .example.env .env # set DATABASE_URL
npm install
npm run prisma:deploy
npm run build
npm run start