2014-04-03 08:56:18 -07:00
|
|
|
#!/bin/sh
|
|
|
|
pip install gunicorn
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then
|
2014-12-16 23:36:37 -08:00
|
|
|
"gunicorn install failed"
|
2014-04-03 08:56:18 -07:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
export PYWB_CONFIG_FILE=config.yaml
|
|
|
|
gunicorn -w 4 pywb.apps.wayback -b 0.0.0.0:8080
|