rug-website/README.md

24 lines
879 B
Markdown
Raw Normal View History

2017-11-28 14:27:32 +01:00
# RUG website template and single signon for django
2017-11-14 09:50:49 +01:00
2017-11-28 14:27:32 +01:00
Template and for creating a website in the University of Groningen *style*, which also helps you to get single sign-on
to work.
2017-11-28 10:55:28 +01:00
2017-11-28 14:27:32 +01:00
## Getting started
2017-11-28 10:55:28 +01:00
2017-11-28 14:27:32 +01:00
### Dependencies
2017-11-28 10:55:28 +01:00
2017-11-28 14:27:32 +01:00
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