anki/scripts/ts-run

12 lines
347 B
Plaintext
Raw Normal View History

#!/bin/bash
#
# Start Anki with the data folder pointed at bazel-bin,
# which is useful when developing TS pages on a Mac.
#
# The pages can be accessed by, eg surfing to
# http://localhost:40000/_anki/pages/deckconfig.html
2021-10-30 01:14:33 +02:00
ANKI_DATA_FOLDER=$(pwd)/bazel-bin/qt/aqt \
QTWEBENGINE_REMOTE_DEBUGGING=8080 \
2021-10-26 12:07:02 +02:00
ANKI_API_PORT=40000 ANKIDEV=1 ./run $*