From c99e2ac23b0b30d19578bb817809c086c16e7fe4 Mon Sep 17 00:00:00 2001 From: Arvid Lunnemark Date: Sun, 10 Jul 2022 20:32:41 -0400 Subject: [PATCH] add add gui cmd --- README.md | 6 ++++++ gui/start.sh | 5 +++++ 2 files changed, 11 insertions(+) create mode 100755 gui/start.sh diff --git a/README.md b/README.md index 7c7873d9..b8031073 100644 --- a/README.md +++ b/README.md @@ -79,3 +79,9 @@ To connect to daemon 2, run: ```bash ./wrap2.sh ./bazel-bin/cli/asphr [command] ``` + +For the gui, run: + +```bash +./wrap2.sh ./gui/start.sh +``` diff --git a/gui/start.sh b/gui/start.sh new file mode 100755 index 00000000..90aebfea --- /dev/null +++ b/gui/start.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +cd "${SCRIPT_DIR}" || exit +npm run start \ No newline at end of file