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

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()