fix #308: make all.sh and sp-wsgi examples work again

This commit is contained in:
Arne Neumann 2016-01-29 11:23:09 +01:00
parent 01e0fafe85
commit 1aee96a69c
2 changed files with 7 additions and 3 deletions

View File

@ -30,10 +30,11 @@ Setup
**sp-wsgi:**
* Go to the folder:
[your path]/pysaml2/example/sp-wsgi
* Go to the folder and copy the example files::
* Take the file named sp_conf.py.example and rename it sp_conf.py
cd [your path]/pysaml2/example/sp-wsgi
cp service_conf.py.example service_conf.py
cp sp_conf.py.example sp_conf.py
sp_conf.py is configured to run on localhost on port 8087. If you want to you could make the necessary changes before proceeding to the next step.

View File

@ -5,6 +5,9 @@ startme() {
if [ ! -f sp_conf.py ] ; then
cp sp_conf.py.example sp_conf.py
fi
if [ ! -f service_conf.py ] ; then
cp service_conf.py.example service_conf.py
fi
../../tools/make_metadata.py sp_conf > sp.xml
cd ../idp2