refactor: move files to git_monitor/ directory and add run.py
This commit is contained in:
13
run.py
Normal file
13
run.py
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
|
# Ensure the git_monitor directory is in the search path
|
||||||
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
git_monitor_dir = os.path.join(current_dir, "git_monitor")
|
||||||
|
sys.path.insert(0, git_monitor_dir)
|
||||||
|
|
||||||
|
from main import Application
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app = Application()
|
||||||
|
app.run()
|
||||||
Reference in New Issue
Block a user