mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 01:01:45 +00:00
keep complexhttpserver installation within riot folder and gitignore leftovers
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
node_modules
|
node_modules
|
||||||
*.png
|
*.png
|
||||||
|
riot/env
|
||||||
|
|||||||
+4
-3
@@ -8,23 +8,24 @@ if [ -d $BASE_DIR/riot-web ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd $BASE_DIR
|
||||||
# Install ComplexHttpServer (a drop in replacement for Python's SimpleHttpServer
|
# Install ComplexHttpServer (a drop in replacement for Python's SimpleHttpServer
|
||||||
# but with support for multiple threads) into a virtualenv.
|
# but with support for multiple threads) into a virtualenv.
|
||||||
(
|
(
|
||||||
virtualenv $BASE_DIR/env
|
virtualenv env
|
||||||
source $BASE_DIR/env/bin/activate
|
source env/bin/activate
|
||||||
|
|
||||||
# Having been bitten by pip SSL fail too many times, I don't trust the existing pip
|
# Having been bitten by pip SSL fail too many times, I don't trust the existing pip
|
||||||
# to be able to --upgrade itself, so grab a new one fresh from source.
|
# to be able to --upgrade itself, so grab a new one fresh from source.
|
||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
python get-pip.py
|
python get-pip.py
|
||||||
|
rm get-pip.py
|
||||||
|
|
||||||
pip install ComplexHttpServer
|
pip install ComplexHttpServer
|
||||||
|
|
||||||
deactivate
|
deactivate
|
||||||
)
|
)
|
||||||
|
|
||||||
cd $BASE_DIR
|
|
||||||
curl -L https://github.com/vector-im/riot-web/archive/${RIOT_BRANCH}.zip --output riot.zip
|
curl -L https://github.com/vector-im/riot-web/archive/${RIOT_BRANCH}.zip --output riot.zip
|
||||||
unzip -q riot.zip
|
unzip -q riot.zip
|
||||||
rm riot.zip
|
rm riot.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user