Skip to content

Commit

Permalink
update instructions for manually compiling the binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasburk committed Dec 30, 2019
1 parent 17fc381 commit fb09dd9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docs/core/generators/photonjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,7 @@ generator photon {

## Manually compiling the query engine binary

If a binary is not available for the platform you want to target, it is possible to compile the Prisma binaries on that platform manually. To compile a binary manually, please follow these steps:

1. Download the Rust toolchain: https://www.rust-lang.org/tools/install
1. Clone https://github.com/prisma/prisma
1. Switch to `alpha` branch (during the preview period, we are using the `alpha` branch)
1. Change the directory to `prisma/server/prisma-rs`
1. Run `cargo build --release`
1. The binaries should be available in the `prisma/server/prisma-rs/target/release` folder, the name of the query engine binary is `prisma` and the migration engine binary is `migration-engine`.
You can find the instructions for manually compiling the query engine binary [here](https://github.com/prisma/prisma-engine#building-prisma-engines).

## Example

Expand Down

0 comments on commit fb09dd9

Please sign in to comment.