Server side code of Pi-Eye
- Express
- NodeJS
- TypeScript
-
An OpenCL 1.2 compatible device (compatability list)
-
Node and npm
-
Install dependencies
vcpkg install opencl libjpeg-turbo freetype
-
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"
-
Clone repository
git clone https://github.com/Pi-Eye/pi-eye-server
-
Install NPM package (this may take a long time)
npm install
-
Make a copy of
test.envand save as.env -
Open
.envand fill out environment variables, comments in file -
Start server with npm by running:
npm start
Distributed uner the GPL-3.0 License. See LICENSE.txt for more information.
Bennett Wu - bwu1324@gmail.com