Skip to content

Commit 5fe5c0d

Browse files
author
Roland Hedberg
committed
Updated the run script to work.
1 parent eeb4b5d commit 5fe5c0d

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

example/run.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
#!/bin/sh
22

3-
cd sp
4-
../../tools/make_metadata.py sp_conf > sp.xml
3+
cd sp-wsgi
4+
if [ ! -f conf.py ] ; then
5+
cp conf.py.example conf.py
6+
fi
7+
../../tools/make_metadata.py conf > sp.xml
58

69
cd ../idp2
10+
if [ ! -f idp_conf.py ] ; then
11+
cp idp_conf.py.example conf.py
12+
fi
713
../../tools/make_metadata.py idp_conf > idp.xml
814

9-
cd ../sp
15+
cd ../sp-wsgi
1016
./sp.py sp_conf &
1117

1218
cd ../idp2

example/sp-wsgi/conf.py renamed to example/sp-wsgi/conf.py.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,5 @@
3535
"cert_file": "pki/mycert.pem",
3636
"xmlsec_binary": xmlsec_path,
3737
"metadata": {"local": ["../idp2/idp.xml"]},
38-
#"metadata": {"mdfile": ["./swamid2.md"]},
39-
#"metadata": {"local": ["./swamid-2.0.xml"]},
4038
"name_form": NAME_FORMAT_URI,
4139
}

0 commit comments

Comments
 (0)