mirror of https://github.com/JohnHammond/CTFd.git
Made prepare.sh install requirements from loaded plugins
parent
818a4568a3
commit
d29f5aaf44
|
@ -2,3 +2,8 @@
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential python-dev python-pip libffi-dev
|
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential python-dev python-pip libffi-dev
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
for d in CTFd/plugins/*; do \
|
||||||
|
if [ -f "$d/requirements.txt" ]; then \
|
||||||
|
pip install -r $d/requirements.txt --no-cache-dir; \
|
||||||
|
fi; \
|
||||||
|
done;
|
||||||
|
|
Loading…
Reference in New Issue