Browse Source

comma

master
H.T. Kruitbosch 5 years ago
parent
commit
eaf409d315
  1. 22
      README.md
  2. 2
      setup.py

22
README.md

@ -1,7 +1,23 @@ @@ -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

2
setup.py

@ -28,7 +28,7 @@ setup( @@ -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'

Loading…
Cancel
Save