Skip to content

Commit

Permalink
Rename + move script
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Dec 20, 2024
1 parent d18683c commit b4d58cb
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
distribution: corretto
- name: Install fauna-shell
run:
npm install -g fauna-shell
npm install -g fauna-shell@">=4.0.0-beta"
- name: Setup Test Database
run: ./test/setup.sh
run: ./scripts/setup.sh

- name: Test sample app
run: |
./gradlew build
FAUNA_ENDPOINT=http://localhost:8443 FAUNA_SECRET=`cat .fauna_key` ./gradlew bootRun > bootrun.log 2>&1 &
./test/validate.sh
cat bootrun.log
./scripts/validate.sh
cat bootrun.log
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ To run the app, you'll need:

## Add sample data

The app includes a setup script that adds sample documents to the
The app includes a seed script that adds sample documents to the
`ECommerceJava` database. From the root directory, run:

```sh
chmod +x setup.sh
FAUNA_SECRET=<secret> ./setup.sh
chmod +x ./scripts/seed.sh
FAUNA_SECRET=<secret> ./seed.sh
```

You can view documents created by the script in the [Fauna
Expand Down Expand Up @@ -210,7 +210,7 @@ Customer documents and related API responses:
1. If you haven't already, add the sample data:

```sh
FAUNA_SECRET=<secret> ./setup.sh
FAUNA_SECRET=<secret> ./scripts/seed.sh
```

If the app server is running, stop the server by pressing Ctrl+C.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b4d58cb

Please sign in to comment.