This commit is contained in:
Rizky 2024-01-25 12:21:48 +07:00
parent 1ecf997e6f
commit 176ee4f309
5 changed files with 6 additions and 3 deletions

5
.gitignore vendored
View File

@ -174,5 +174,8 @@ dist
# Finder (MacOS) folder config
.DS_Store
app/*
app/web
app/srv
app/db
app/static
.data

0
app/.gitignore vendored Normal file
View File

BIN
bun.lockb

Binary file not shown.

BIN
dockerzip

Binary file not shown.

View File

@ -22,11 +22,11 @@ if (!(await existsAsync(dir("app")))) {
}
if (!(await existsAsync(dir("app/db")))) {
await $`unzip -o pkgs/zip/dbzip -d app/db`;
await $`unzip -o pkgs/zip/dbzip -d app`;
}
if (!(await existsAsync(dir("app/srv")))) {
await $`unzip -o pkgs/zip/srvzip -d app/srv`;
await $`unzip -o pkgs/zip/srvzip -d app`;
}
if (!process.env.PORT) {