Skip to content

Commit 7b81bba

Browse files
committed
minor fixes
1 parent 150fec3 commit 7b81bba

6 files changed

Lines changed: 9 additions & 4 deletions

File tree

ct/borg-ui.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ function update_script() {
4444
cd /opt/borg-ui/frontend
4545
$STD npm ci
4646
$STD npm run build
47+
rm -rf /opt/borg-ui/app/static
48+
mkdir -p /opt/borg-ui/app/static
49+
cp -r /opt/borg-ui/frontend/build/* /opt/borg-ui/app/static/
4750
msg_ok "Built Frontend"
4851

4952
msg_info "Updating Python Environment"

ct/readmeabook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function update_script() {
4747
source /opt/readmeabook/.env
4848
set +a
4949
$STD npx prisma generate
50-
$STD npx prisma migrate deploy
50+
$STD npx prisma db push --skip-generate --accept-data-loss
5151
$STD npm run build
5252
msg_ok "Built ReadMeABook"
5353

ct/suggestarr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function update_script() {
3838

3939
msg_info "Building Frontend"
4040
cd /opt/suggestarr/client
41-
$STD npm ci
41+
$STD npm install
4242
$STD npm run build
4343
mkdir -p /opt/suggestarr/static
4444
cp -r /opt/suggestarr/client/dist/* /opt/suggestarr/static/

install/borg-ui-install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ msg_info "Building Frontend"
3232
cd /opt/borg-ui/frontend
3333
$STD npm ci
3434
$STD npm run build
35+
mkdir -p /opt/borg-ui/app/static
36+
cp -r /opt/borg-ui/frontend/build/* /opt/borg-ui/app/static/
3537
msg_ok "Built Frontend"
3638

3739
msg_info "Setting up Python Environment"

install/readmeabook-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ set -a
5050
source /opt/readmeabook/.env
5151
set +a
5252
$STD npx prisma generate
53-
$STD npx prisma migrate deploy
53+
$STD npx prisma db push --skip-generate --accept-data-loss
5454
$STD npm run build
5555
msg_ok "Built ReadMeABook"
5656

install/suggestarr-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fetch_and_deploy_gh_release "suggestarr" "giuseppe99barchetta/SuggestArr" "tarba
2424

2525
msg_info "Building Frontend"
2626
cd /opt/suggestarr/client
27-
$STD npm ci
27+
$STD npm install
2828
$STD npm run build
2929
mkdir -p /opt/suggestarr/static
3030
cp -r /opt/suggestarr/client/dist/* /opt/suggestarr/static/

0 commit comments

Comments
 (0)