mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-07 23:05:40 -04:00
Refactor postgres db folder creation (#190)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -413,4 +413,5 @@ docs/vendor
|
||||
docs/.bundle
|
||||
|
||||
# Database files
|
||||
database/postgres
|
||||
database/postgres-dev
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
This is the default location where the postgres database files are stored.
|
||||
@@ -733,6 +733,9 @@ handle_build() {
|
||||
set_deployment_mode "build"
|
||||
printf "\n"
|
||||
|
||||
# Initialize workspace which makes sure all required directories and files exist
|
||||
initialize_workspace
|
||||
|
||||
# Check for required build files
|
||||
if [ ! -f "docker-compose.build.yml" ] || [ ! -d "src" ]; then
|
||||
printf "${RED}Error: Required files for building from source are missing.${NC}\n"
|
||||
|
||||
Reference in New Issue
Block a user