From eaf409d3152b793f0c8a3eea2a70ad0c05a364a5 Mon Sep 17 00:00:00 2001 From: Herbert Kruitbosch Date: Tue, 28 Nov 2017 14:27:32 +0100 Subject: [PATCH] comma --- README.md | 22 +++++++++++++++++++--- setup.py | 2 +- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4ea9de..6376974 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,23 @@ -# RuG website template with SAML2 login +# RUG website template and single signon for django +Template and for creating a website in the University of Groningen *style*, which also helps you to get single sign-on +to work. -# CENTOS dependencies +## Getting started - yum install libxml2-devel libxslt-devel python34-devel xmlsec1-devel libmcrypt libmcrypt-devel xmlsec1-openssl +### Dependencies +Make sure these packages are installed on the webhost serving your website. + + * **centos** `yum install libxml2-devel libxslt-devel python34-devel xmlsec1-devel libmcrypt libmcrypt-devel xmlsec1-openssl` + * **ubuntu** `sudo apt-get install libxml2-dev libxslt1-dev libxmlsec1-dev python3-dev` + +## Virtualenv + +I would suggest you use a virtualenv, this is a directory which contains the python executables and all python +packages, like django, python3-saml, etc. + + mkdir rugwebsite && cd rugwebsite + virtualenv --python=/usr/bin/python3.5 venv + source venv/bin/activate + pip3 install git+ssh://git@git.webhosting.rug.nl:222/p253591/rug-website.git diff --git a/setup.py b/setup.py index 24f9212..7e8a1d3 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setup( install_requires=[ 'pyOpenSSL>=17.4.0', - 'cryptography>=2.1.3,<3' + 'cryptography>=2.1.3,<3', 'django>=1.11.7,<1.12', 'django-bootstrap4>=0.0.4,<0.1', 'django-saml2-pro-auth>=0.0.2,<0.1'