mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 05:38:41 +03: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>
21 lines
508 B
Bash
Executable file
21 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
|
|
)
|