mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-14 15:53:28 +01:00
22 lines
283 B
Bash
Executable File
22 lines
283 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# requires uwsgi
|
|
pip install uwsgi
|
|
pip install gevent
|
|
|
|
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
|