Commit e8047a56 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Merge branch 'feature-s/3605-fixed-web2py' into 'dev'

Use a fixed version of web2py

Closes #3605

See merge request !419
parents 6923fb02 b579cd52
Pipeline #66590 passed with stages
in 12 minutes and 41 seconds
......@@ -12,7 +12,7 @@ run set -x \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --keyserver ipv4.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
&& rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc \
&& chmod +x /usr/local/bin/gosu
run apt-get update ; apt-get install --no-install-recommends --no-install-suggests -y -q sudo curl apt-utils uwsgi-plugin-python
......@@ -20,7 +20,7 @@ run apt-get update ; apt-get install --no-install-recommends --no-install-sugges
arg git_branch=dev
arg remote_repo=https://gitlab.inria.fr/vidjil/vidjil.git
run cd /usr/share/ && git config --global http.sslVerify false && git clone -b $git_branch $remote_repo
run cd /usr/share/vidjil/server && wget --no-check-certificate https://mdipierro.pythonanywhere.com/examples/static/web2py_src.zip && unzip web2py_src.zip && unlink web2py_src.zip
run cd /usr/share/vidjil/server && make download_web2py && unzip web2py_src.zip && unlink web2py_src.zip
add ./scripts/install.sh /opt/install_scripts/install.sh
copy ./conf/defs.py /opt/vidjil_conf/defs.py
......
WEB2PY_VERSION=2.17.2
install: install_web2py
install_web2py:
wget http://web2py.com/examples/static/web2py_src.zip
download_web2py:
wget http://web2py.com/examples/static/${WEB2PY_VERSION}/web2py_src.zip
install_web2py: download_web2py
unzip web2py_src.zip
mv web2py/handlers/wsgihandler.py web2py/wsgihandler.py
rm web2py_src.zip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment