Skip to content

Commit

Permalink
add result to gitignore, update readme, no-out-link pab exe
Browse files Browse the repository at this point in the history
  • Loading branch information
hSloan committed Jun 28, 2021
1 parent a07cb0c commit 98b9bac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions use-case-2/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ db
ghcid-output.txt
static.out
.obelisk/impl/.attr-cache
result
3 changes: 1 addition & 2 deletions use-case-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ By the end of this README you will be able to run the POKE-DEX on your machine l

## Running Plutus Application Backend (PAB)

1. [Unpack plutus-starter GitHub Thunk]
1. After installing Obelisk, use `./scripts/run-pab.sh` to launch the PAB and have it listen on port 8080
1. [Run PAB] After installing Obelisk, use `./scripts/run-pab.sh` to launch the PAB and have it listen on port 8080

## Starting Obelisk Frontend

Expand Down
5 changes: 3 additions & 2 deletions use-case-2/scripts/run-pab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

set -euo pipefail

nix-build -A plutus-starter.haskellNixProject.hsPkgs.plutus-starter.components.exes.plutus-starter-pab
./result/bin/plutus-starter-pab
DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)

"$(nix-build "$DIR"/.. -A plutus-starter.haskellNixProject.hsPkgs.plutus-starter.components.exes.plutus-starter-pab --no-out-link)"/bin/plutus-starter-pab

0 comments on commit 98b9bac

Please sign in to comment.