fix #308: make all.sh and sp-wsgi examples work again
This commit is contained in:
@@ -30,10 +30,11 @@ Setup
|
|||||||
|
|
||||||
**sp-wsgi:**
|
**sp-wsgi:**
|
||||||
|
|
||||||
* Go to the folder:
|
* Go to the folder and copy the example files::
|
||||||
[your path]/pysaml2/example/sp-wsgi
|
|
||||||
|
|
||||||
* 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.
|
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.
|
||||||
|
|
||||||
|
@@ -5,6 +5,9 @@ startme() {
|
|||||||
if [ ! -f sp_conf.py ] ; then
|
if [ ! -f sp_conf.py ] ; then
|
||||||
cp sp_conf.py.example sp_conf.py
|
cp sp_conf.py.example sp_conf.py
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f service_conf.py ] ; then
|
||||||
|
cp service_conf.py.example service_conf.py
|
||||||
|
fi
|
||||||
../../tools/make_metadata.py sp_conf > sp.xml
|
../../tools/make_metadata.py sp_conf > sp.xml
|
||||||
|
|
||||||
cd ../idp2
|
cd ../idp2
|
||||||
|
Reference in New Issue
Block a user