mirror of
https://github.com/simon987/task_tracker_drone.git
synced 2025-04-04 07:52:59 +00:00
New reqs
This commit is contained in:
parent
a4d362f3a8
commit
d20d2bd1d8
@ -12,6 +12,6 @@ pip install -r requirements.txt
|
||||
deactivate
|
||||
|
||||
echo "starting drone"
|
||||
screen -S tt_drone -d -m bash -c "source env/bin/activate && python src/drone.py 'https://tt.simon987.net' 'tt_drone'"
|
||||
screen -S tt_drone -d -m bash -c "source env/bin/activate && python src/drone.py 'https://tt.simon987.net/api/' 'tt_drone'"
|
||||
sleep 1
|
||||
screen -list
|
||||
|
@ -1,3 +1,4 @@
|
||||
requests
|
||||
bs4
|
||||
Pillow
|
||||
Pillow
|
||||
spotipy
|
@ -30,11 +30,11 @@ class WorkerContext:
|
||||
shutil.rmtree(path)
|
||||
|
||||
os.makedirs(path, exist_ok=True)
|
||||
proc = Popen(args=["git", "clone", project.clone_url, path])
|
||||
proc = Popen(args=["git", "clone", "-q", project.clone_url, path])
|
||||
proc.wait()
|
||||
|
||||
if project.version:
|
||||
proc = Popen(args=["git", "checkout", project.version], cwd=os.path.abspath(path))
|
||||
proc = Popen(args=["git", "checkout", "-q", project.version], cwd=os.path.abspath(path))
|
||||
proc.wait()
|
||||
|
||||
if os.path.exists(os.path.join(path, "setup")):
|
||||
|
Loading…
x
Reference in New Issue
Block a user