Skip to content

endiangroup/prisma-armv7-builds

 
 

Repository files navigation

DEPRECATED

Raspberry Pi has released official 64 bit OS image now: https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/

I will recommend everyone to upgrade to that now. This repository is no longer maintained.

Prisma precompiled builds for Raspberry Pi (armv7)

This repository contains precompiled prisma-engines for Raspberry Pi.

How to use this repository

(This mostly follows this documentation piece, please read this once: https://www.prisma.io/docs/concepts/components/prisma-engines#using-custom-engine-binaries)

  1. Download all 5 Engine files from this repository's GitHub releases page: https://github.com/pantharshit00/prisma-rpi-builds/releases
  2. Put all the downloaded files into a folder in your project
  3. Make sure all 4 binaries are executable using chmod +x <binary path>
  4. Set the following environment variables in your shell or in the .env file:
    PRISMA_QUERY_ENGINE_BINARY=/path/to/query-engine
    PRISMA_MIGRATION_ENGINE_BINARY=/path/to/migration-engine
    PRISMA_INTROSPECTION_ENGINE_BINARY=/path/to/introspection-engine
    PRISMA_FMT_BINARY=/path/to/prisma-fmt
    PRISMA_QUERY_ENGINE_LIBRARY=/path/to/libquery_engine_napi.so
  5. You are now ready to use Prisma on your Raspberry Pi.

Additional notes

CI in this repository checks for a new major Prisma version everyday and if there is a new release avaliable, it will automatically build the engines and make a new release.

About

Prisma precompiled builds for Armv7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 72.9%
  • JavaScript 27.1%