Skip to content

Web app controller for the RPi-based live stream camera.

License

Notifications You must be signed in to change notification settings

JiningLiu/stream-cam-web

Repository files navigation

Web Controller for Stream Cam

For use with the stream-cam 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.

Developing

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.

Building

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 in package.json to use your own domain, or remove the CNAME creation command.