Skip to content

Commit

Permalink
- set the correct directory for configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
laststylebender14 committed Sep 10, 2024
1 parent 7662e03 commit 275b09b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions projects/tailcall/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

set -e

# TODO: implement installation
npm install -g @tailcallhq/tailcall

# TODO: run the server
tailcall start reference/schema.graphql
# Get the directory of the script
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

# Set the path to the schema file relative to the script location
SCHEMA_FILE="${SCRIPT_DIR}/tailcall.graphql"

# Start Tailcall
tailcall start "${SCHEMA_FILE}"
File renamed without changes.

0 comments on commit 275b09b

Please sign in to comment.