mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 09:58:11 +08:00
b90a0c443d
* Update install.sh * Update install.sh * Update develop.yml * Update install.sh * Update develop.yml * Update install.sh * Update install.sh * Work around suspected frozendict bug * Faff around with install-webserver.sh * Actually I don't think these clash anyway * Minor cleanup * Add comments Co-authored-by: Olivier <olivier@librepush.net>
22 lines
508 B
Bash
Executable File
22 lines
508 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
BASE_DIR=$(cd $(dirname $0) && pwd)
|
|
cd $BASE_DIR
|
|
# Install ComplexHttpServer (a drop in replacement for Python's SimpleHttpServer
|
|
# but with support for multiple threads) into a virtualenv.
|
|
(
|
|
virtualenv -p python3 env
|
|
source env/bin/activate
|
|
|
|
pip install --upgrade pip
|
|
|
|
# Pin setuptools to work around crash bug in v60
|
|
# See https://github.com/vector-im/element-web/issues/20287
|
|
pip install setuptools==v59.8.0
|
|
|
|
pip install ComplexHttpServer
|
|
|
|
deactivate
|
|
)
|