Skip to content

Commit

Permalink
Replace directory in fauna-project file with --dir flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Griffin committed Dec 3, 2024
1 parent ace1919 commit aa09dee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions test/local-project

This file was deleted.

5 changes: 2 additions & 3 deletions test/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ DB_NAME="ECommerceJava"
LOCAL_ENDPOINT="http://localhost:8443/"
SECRET="secret"

cp ./test/local-project .fauna-project
echo "Copied .fauna-project"
touch .fauna-project

fauna endpoint add local -y --set-default --url "$LOCAL_ENDPOINT" --secret "$SECRET"
echo "Added local endpoint"
Expand All @@ -17,7 +16,7 @@ fauna environment add --name local --endpoint local --database $DB_NAME -y
fauna environment select local
fauna eval "Key.create({ role: 'server' }).secret" | xargs > .fauna_key

fauna schema push -y --active
fauna schema push -y --active --dir=schema

fauna import --collection Category --path seed/categories.json
fauna import --collection Customer --path seed/customers.json
Expand Down

0 comments on commit aa09dee

Please sign in to comment.