Skip to content

Commit

Permalink
simplify start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AvidDabbler committed Feb 1, 2024
1 parent 9edf8d9 commit 5ad5ea4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
# Learn more: https://community.fly.io/t/sqlite-not-getting-setup-properly/4386

# allocate swap space
fallocate -l 512M /swapfile
chmod 0600 /swapfile
mkswap /swapfile
echo 10 >/proc/sys/vm/swappiness
swapon /swapfile
echo 1 >/proc/sys/vm/overcommit_memory
# fallocate -l 512M /swapfile
# chmod 0600 /swapfile
# mkswap /swapfile
# echo 10 >/proc/sys/vm/swappiness
# swapon /swapfile
# echo 1 >/proc/sys/vm/overcommit_memory

# npx prisma migrate deploy
npm run start

0 comments on commit 5ad5ea4

Please sign in to comment.