From 1aee96a69c10be81053cb0d039197d0824bc512b Mon Sep 17 00:00:00 2001 From: Arne Neumann Date: Fri, 29 Jan 2016 11:23:09 +0100 Subject: [PATCH] fix #308: make all.sh and sp-wsgi examples work again --- doc/examples/sp.rst | 7 ++++--- example/all.sh | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/examples/sp.rst b/doc/examples/sp.rst index 32f8b4b..56b8835 100644 --- a/doc/examples/sp.rst +++ b/doc/examples/sp.rst @@ -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. diff --git a/example/all.sh b/example/all.sh index efbc145..06e09b8 100755 --- a/example/all.sh +++ b/example/all.sh @@ -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