Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def clone_and_setup_repo():
|
|
13 |
shutil.rmtree(temp_dir)
|
14 |
|
15 |
print("Cloning the repository...")
|
16 |
-
result = os.system(f"git clone https://github.com/
|
17 |
|
18 |
if result != 0:
|
19 |
print("Error: Failed to clone the repository.")
|
@@ -23,7 +23,8 @@ def clone_and_setup_repo():
|
|
23 |
os.chdir(temp_dir)
|
24 |
os.system("npm i")
|
25 |
os.system("cp .env.example .env")
|
26 |
-
os.system("
|
|
|
27 |
os.system("npm run build")
|
28 |
os.system("npm start")
|
29 |
os.system("npm restart")
|
|
|
13 |
shutil.rmtree(temp_dir)
|
14 |
|
15 |
print("Cloning the repository...")
|
16 |
+
result = os.system(f"git clone https://github.com/titaniumnetwork-dev/Alu.git --recursive {temp_dir}")
|
17 |
|
18 |
if result != 0:
|
19 |
print("Error: Failed to clone the repository.")
|
|
|
23 |
os.chdir(temp_dir)
|
24 |
os.system("npm i")
|
25 |
os.system("cp .env.example .env")
|
26 |
+
os.system("npm i -g pnpm")
|
27 |
+
os.system("pnpm i")
|
28 |
os.system("npm run build")
|
29 |
os.system("npm start")
|
30 |
os.system("npm restart")
|