solving lots of production issues

This commit is contained in:
Yeicor
2024-03-03 13:16:51 +01:00
parent 71887f75e6
commit 0fad65d7b2
11 changed files with 51 additions and 30 deletions

7
build.py Normal file
View File

@@ -0,0 +1,7 @@
import os
import subprocess
if __name__ == "__main__":
# When building the backend, make sure the frontend is built first
subprocess.run(['yarn', 'install'], check=True)
subprocess.run(['yarn', 'build', '--dist-dir', 'yacv_server/frontend'], check=True)