Skip to content

Commit

Permalink
Document purescript code generation scripts
Browse files Browse the repository at this point in the history
Add info about the scripts creating `./generated` folders to
the README.md's
  • Loading branch information
gilligan committed Jan 14, 2021
1 parent 350115d commit 4c91290
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions marlowe-playground-client/README.md
Expand Up @@ -11,10 +11,9 @@ Check the [backend documentation](../marlowe-playground-server/README.md) for mo

Now we will build and run the front end:
```bash
# First generate the purescript bridge files
$(nix-build -A marlowe-playground.server-invoker)/bin/marlowe-playground psgenerator ./marlowe-playground-client/generated
# Now we will build and run the client on localhost
cd marlowe-playground-client
# Generate the purescript bridge files
marlowe-playground-generate-purs
# Download javascript dependencies
npm install
# Install purescript depdendencies
Expand Down
5 changes: 2 additions & 3 deletions plutus-playground-client/README.md
Expand Up @@ -7,10 +7,9 @@ Please view the instructions for building the server [here](../plutus-playground
## Client

```sh
# First generate the purescript bridge files
$(nix-build -A plutus-playground.server-invoker)/bin/plutus-playground psgenerator ./plutus-playground-client/generated
# Now we will build and run the client on localhost
cd plutus-playground-client
# Generate the purescript bridge files
plutus-playground-generate-purs
# Download javascript dependencies
npm install
# Install purescript depdendencies
Expand Down

0 comments on commit 4c91290

Please sign in to comment.