Update rnd/autogpt_server/setup.py

Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
This commit is contained in:
Nicholas Tindle
2024-07-16 10:02:17 -05:00
committed by GitHub
parent dc3a9b402b
commit e7c569668f

View File

@@ -60,13 +60,9 @@ license_file = "LICENSE.rtf"
txt_to_rtf("../../LICENSE", license_file)
# call npm run build in ../autogpt_builder
os.system("npm run build --prefix ../autogpt_builder")
# copy the ../autogpt_builder/out to frontend
shutil.rmtree("../frontend", ignore_errors=True)
shutil.copytree("../autogpt_builder/out", "../frontend")