mirror of
https://github.com/simon987/task_tracker_drone.git
synced 2025-04-10 14:06:46 +00:00
New reqs
This commit is contained in:
parent
a4d362f3a8
commit
d20d2bd1d8
@ -12,6 +12,6 @@ pip install -r requirements.txt
|
|||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
echo "starting drone"
|
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
|
sleep 1
|
||||||
screen -list
|
screen -list
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
requests
|
requests
|
||||||
bs4
|
bs4
|
||||||
Pillow
|
Pillow
|
||||||
|
spotipy
|
@ -30,11 +30,11 @@ class WorkerContext:
|
|||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
|
|
||||||
os.makedirs(path, exist_ok=True)
|
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()
|
proc.wait()
|
||||||
|
|
||||||
if project.version:
|
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()
|
proc.wait()
|
||||||
|
|
||||||
if os.path.exists(os.path.join(path, "setup")):
|
if os.path.exists(os.path.join(path, "setup")):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user