mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
Update rnd/autogpt_server/setup.py
Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user