Skip to content

Commit

Permalink
feat: add script to install for development
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Dec 1, 2023
1 parent 5ce0048 commit 74511ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/dev-tools/init/install-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 74511ee

Please sign in to comment.