This commit is contained in:
simon 2019-06-14 11:09:21 -04:00
parent a4d362f3a8
commit d20d2bd1d8
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -1,3 +1,4 @@
requests
bs4
Pillow
Pillow
spotipy

View File

@ -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")):