2021-04-14 15:21:33 +02:00
|
|
|
#!/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
|
|
|
|
|
2022-01-24 02:06:02 +01:00
|
|
|
ANKI_DATA_FOLDER=$(pwd)/.bazel/bin/qt/aqt \
|
2021-04-16 03:48:46 +02:00
|
|
|
QTWEBENGINE_REMOTE_DEBUGGING=8080 \
|
2021-10-26 12:07:02 +02:00
|
|
|
ANKI_API_PORT=40000 ANKIDEV=1 ./run $*
|