This repository has been archived on 2023-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
va-project/backend/utils/build_frontend.py

12 lines
262 B
Python
Raw Normal View History

2023-05-03 08:54:36 +00:00
import os
import subprocess
def build_frontend():
"""
builds the frontend application
"""
path: str = os.path.join(os.path.dirname(__file__), "..", "..", "stockingly-frontend")
p = subprocess.Popen(["yarn", "build"], cwd=path)
p.wait()