Skip to content

Commit 0d96061

Browse files
author
Roland Hedberg
committed
Merge pull request #309 from arne-cl/master
fix #308: make all.sh and sp-wsgi examples work again
2 parents 028f75c + 1aee96a commit 0d96061

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

doc/examples/sp.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ Setup
3030

3131
**sp-wsgi:**
3232

33-
* Go to the folder:
34-
[your path]/pysaml2/example/sp-wsgi
33+
* Go to the folder and copy the example files::
3534

36-
* Take the file named sp_conf.py.example and rename it sp_conf.py
35+
cd [your path]/pysaml2/example/sp-wsgi
36+
cp service_conf.py.example service_conf.py
37+
cp sp_conf.py.example sp_conf.py
3738

3839
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.
3940

example/all.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ startme() {
55
if [ ! -f sp_conf.py ] ; then
66
cp sp_conf.py.example sp_conf.py
77
fi
8+
if [ ! -f service_conf.py ] ; then
9+
cp service_conf.py.example service_conf.py
10+
fi
811
../../tools/make_metadata.py sp_conf > sp.xml
912

1013
cd ../idp2

0 commit comments

Comments
 (0)