1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00
pywb/run.sh
Ilya Kreymer d9930322f1 support utf-8 (so far)
support protocol-agnostic prefix //
failedFile list for warc loading
2013-12-31 00:18:12 +00:00

12 lines
182 B
Bash
Executable File

#!/bin/sh
mypath=$(cd `dirname $0` && pwd)
app=$1
cd $mypath/pywb
if [ -z "$app" ]; then
app=wbapp.py
fi
uwsgi --static-map /static=$mypath/static --http :8080 --wsgi-file $app