anki/scripts/ts-run
Damien Elmes 0b8ae7225a add a shortcut to speed up local ts dev
@hgiesel if you're not already doing something like this, you might
find this useful
2021-04-14 23:21:33 +10:00

11 lines
311 B
Bash
Executable File

#!/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
ANKI_DATA_FOLDER=$(pwd)/bazel-bin/qt/aqt/data \
ANKI_API_PORT=40000 ANKIDEV=1 ./run