README.md 1.05 KB
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1 2
FEderated User Credential Deployment PortAL (FEUDAL)
====
ubedv's avatar
ubedv committed
3 4
- User interface: [Webpage](https://git.scc.kit.edu/feudal/feudalWebpage)
- Component at the sites: [Client](https://git.scc.kit.edu/feudal/feudalClient)
Lukas Burgey's avatar
Lukas Burgey committed
5 6


Lukas Burgey's avatar
Lukas Burgey committed
7 8

Installation
Lukas Burgey's avatar
Lukas Burgey committed
9
----
Lukas Burgey's avatar
Lukas Burgey committed
10 11 12 13 14

- apt install nginx rabbitmq-server uwsgi-plugin-python3 virtualenv default-libmysqlclient-dev gcc
	- Notes: gcc is needed for the python package mysqlclient
- useradd -m feudal
- su feudal
Lukas Burgey's avatar
Lukas Burgey committed
15
	- git clone git.scc.kit.edu/feudal/feudalBackend ~/backend
Lukas Burgey's avatar
Lukas Burgey committed
16
	- Configure your database in ~/.my.cnf
Lukas Burgey's avatar
Lukas Burgey committed
17
	- Configure django in ~/backend/feudal/settings.py
Lukas Burgey's avatar
Lukas Burgey committed
18 19 20 21 22
	- cd ~/backend
		- ./generate-secret
		- virtualenv -p /usr/bin/python3
		- source env/bin/activate
			- pip install Django django-cors-headers django-mysql django-polymorphic django-rest-polymorphic djangorestframework oic urllib3 mysqlclient pika
Lukas Burgey's avatar
Lukas Burgey committed
23
- Configure uwsgi in /etc/uwsgi/feudal.ini
Lukas Burgey's avatar
Lukas Burgey committed
24 25 26 27 28 29 30
- Configure nginx in /etc/nginx/conf.d/feudal.conf
- su feudal
	- cd ~/backend
		- source env/bin/activate
			- ./manage.py makemigrations backend
			- ./manage.py migrate
			- ./manage.py create superuser