For use with the stream-cam-legacy project, install with the script found in that project. The installation steps in the README of that project will guide you through installing all software needed.
⚠️ A new system is under development... Follow JiningLiu/stream-cam for updates.
Once you've installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
The port is exposed by default with the --host
flag.
To create a production version of the app:
npm run build
You can preview the production build with npm run preview
.
You can deploy the production build to GitHub Pages with npm run deploy
.
- Make sure to change script
build
inpackage.json
to use your own domain, or remove the CNAME creation command.