Skip to content

Commit 545a677

Browse files
author
jarokrolewski
committed
Update script to automatically run the website
Modify run.py to automatically execute the website's application script. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2f70347b-d6bb-488b-85b2-389df1f2a2e8 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: b5c5e9d4-aa37-43ec-b6e9-7c13dd0c27b8 Replit-Helium-Checkpoint-Created: true
1 parent 3969172 commit 545a677

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

run.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import subprocess
2+
import sys
3+
import os
4+
5+
os.chdir(os.path.join(os.path.dirname(__file__), "website"))
6+
subprocess.run([sys.executable, "app.py"])

0 commit comments

Comments
 (0)