Skip to content

Sample application using Prisma Client Python with ARM environment

Notifications You must be signed in to change notification settings

myoshioka/prisma-client-py-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample application using Prisma Client Python

Overview

Description

This application is intended for use in an arm64-linux environment. However, Prisma Client Python does not yet support arm64-linux, so the Prisma engine is built and used directly in the docker container. Prisma-Cli is used to download arm64 binaries.

Getting Started

  • Launch the container with docker-compose.
$ docker-compose up -d
  • After login to the container, apply the schema to the Database and generate the Prisma Client code.
$ docker exec -it prisma-client-py-sample bash
prisma db push
  • Execute the sample code.
    • Sample data is added to the Database and then the added data is fetched and displayed.
python src/main.py

About

Sample application using Prisma Client Python with ARM environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published