Skip to content

Pi-Eye/pi-eye-server

Repository files navigation

Pi Eye Server

About

Server side code of Pi-Eye

Built With

  • Express
  • NodeJS
  • TypeScript

Getting Started

Prerequisites

  1. An OpenCL 1.2 compatible device (compatability list)

  2. vcpkg

  3. Node and npm

Installation

  1. Install dependencies

    vcpkg install opencl libjpeg-turbo freetype
  2. Set CMAKE toolchain file

    Linux/MacOS:

    export CMAKE_TOOLCHAIN_FILE="[path to vcpkg]/scripts/buildsystems/vcpkg.cmake"

    Windows (Powershell):

    $ENV:CMAKE_TOOLCHAIN_FILE="[path to vcpkg]/scripts/buildsystems/vcpkg.cmake"
  3. Clone repository

    git clone https://github.com/Pi-Eye/pi-eye-server
    
  4. Install NPM package (this may take a long time)

    npm install

Usage

  1. Make a copy of test.env and save as .env

  2. Open .env and fill out environment variables, comments in file

  3. Start server with npm by running:

    npm start

License

Distributed uner the GPL-3.0 License. See LICENSE.txt for more information.

Contact

Bennett Wu - bwu1324@gmail.com

About

Server side code of Pi-Eye

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published