mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
update README and INSTALL, fix typo only list wb handlers on home page by default pep8 fixes
21 lines
261 B
Bash
Executable File
21 lines
261 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# requires uwsgi
|
|
pip install uwsgi
|
|
|
|
if [ $? -ne 0 ]; then
|
|
"uwsgi install failed"
|
|
exit 1
|
|
fi
|
|
|
|
|
|
mypath=$(cd `dirname $0` && pwd)
|
|
|
|
params="$mypath/uwsgi.ini"
|
|
|
|
if [ -n "$VIRTUAL_ENV" ] ; then
|
|
params="$params -H $VIRTUAL_ENV"
|
|
fi
|
|
|
|
uwsgi $params
|