From 6b78680875d9e721d46e4f3d34047c6a3fbd2f33 Mon Sep 17 00:00:00 2001
From: DMRobertson
python3 -m venv <your virtualenv>
source /path/to/your/virtualenv/bin/activate
python -m pip install "django<3" "django-mama-cas==2.4.0"
+python -m pip install "django<3" "django-mama-cas==2.4.0"
django-admin startproject cas_test .
+django-admin startproject cas_test .
python manage.py migrate
python manage.py createsuperuser
+python manage.py createsuperuser
- Use whatever you want as the username and password.
@@ -208,7 +208,7 @@ easy to run CAS implementation built on top of Django.
python manage.py runserver
+python manage.py runserver
To do so, use scripts-dev/make_full_schema.sh
. This will produce new
full.sql.postgres
and full.sql.sqlite
files.
Ensure postgres is installed, then run:
-./scripts-dev/make_full_schema.sh -p postgres_username -o output_dir/
+./scripts-dev/make_full_schema.sh -p postgres_username -o output_dir/
NB at the time of writing, this script predates the split into separate state
/main
databases so will require updates to handle that correctly.
diff --git a/develop/development/saml.html b/develop/development/saml.html
index 8c6b2f212a..040efb558c 100644
--- a/develop/development/saml.html
+++ b/develop/development/saml.html
@@ -196,7 +196,7 @@ the XML from step 2 as the contents.
sp_config:
allow_unknown_attributes: true # Works around a bug with AVA Hashes: https://github.com/IdentityPython/pysaml2/issues/388
metadata:
- local: ["samling.xml"]
+ local: ["samling.xml"]
homeserver.yaml
has a setting for public_baseurl
:
--
cgit 1.5.1