-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: docker compose configuration to use the new index container
- Loading branch information
1 parent
d0134fc
commit 33f96f6
Showing
10 changed files
with
44 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# Generate the .env file if it does not exist | ||
if ! [ -f "./.env" ]; then | ||
# Copy .env file from development template | ||
cp dot.env.local .env | ||
fi | ||
|
||
# Generate storage directory if it does not exist | ||
mkdir -p "./storage/index/lib/database/" | ||
mkdir -p "./storage/tracker/lib/database/" | ||
|
||
# Generate the sqlite database for the index backend if it does not exist | ||
if ! [ -f "./storage/index/lib/database/e2e_testing_sqlite3.db" ]; then | ||
sqlite3 ./storage/index/lib/database/e2e_testing_sqlite3.db "VACUUM;" | ||
fi | ||
|
||
# Generate the sqlite database for the tracker if it does not exist | ||
if ! [ -f "./storage/tracker/lib/database/e2e_testing_sqlite3.db" ]; then | ||
sqlite3 ./storage/tracker/lib/database/e2e_testing_sqlite3.db "VACUUM;" | ||
fi | ||
|
||
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters