From 74511ee2a1fef85a45c5d9a13f74fc02c2766854 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Fri, 1 Dec 2023 09:56:19 +0000 Subject: [PATCH] feat: add script to install for development Used here: https://github.com/torrust/torrust-index-gui/blob/develop/docs/development_guide.md#run-the-tracker --- contrib/dev-tools/init/install-local.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/dev-tools/init/install-local.sh b/contrib/dev-tools/init/install-local.sh index f9806a0b..747c357b 100755 --- a/contrib/dev-tools/init/install-local.sh +++ b/contrib/dev-tools/init/install-local.sh @@ -7,6 +7,5 @@ mkdir -p ./storage/tracker/lib/database # Generate the sqlite database if it does not exist if ! [ -f "./storage/tracker/lib/database/sqlite3.db" ]; then - # todo: it should get the path from tracker.toml and only do it when we use sqlite - sqlite3 ./storage/tracker/lib/database/sqlite3.db "VACUUM;" + sqlite3 ./storage/tracker/lib/database/sqlite3.db "VACUUM;" fi