README.md 1.31 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
- apt install nginx uwsgi-plugin-python3 virtualenv default-libmysqlclient-dev gcc
Lukas Burgey's avatar
Lukas Burgey committed
12
	- Notes: gcc is needed for the python package mysqlclient
13 14 15
- Install rabbitmq 3.7.7 (e.g. from: [here](https://www.rabbitmq.com/install-debian.html#bintray-apt-repo-erlang))
- Add a user for the backend
	- useradd -m feudal
Lukas Burgey's avatar
Lukas Burgey committed
16
- su feudal
17 18
	- git clone git.scc.kit.edu/feudal/feudalBackend ~/feudalBackend
	- cd ~/feudalBackend
Lukas Burgey's avatar
Lukas Burgey committed
19
		- ./install
20 21 22 23 24 25 26 27 28 29


Configuration
----
- Configure your database in ~/.my.cnf
- Configure django in ~/config/django_settings.py
- Most configuration is done in ~/config
- Configure uwsgi using ~/config/uwsgi.ini
	- Enable the uwsgi service using systemd
		- systemctl --user --now enable uwsgi
Lukas Burgey's avatar
Lukas Burgey committed
30
- Configure nginx in /etc/nginx/conf.d/feudal.conf
31 32 33 34 35 36 37 38
	- Copy the dhparam.pem file to /etc/nginx/cert
	- Enable nginx service using systemd
		- systemctl --now enable nginx
- Configure rabbitmq in /etc/rabbitmq/rabbitmq.conf
	- Enable rabbitmq plugins:
		- rabbitmq-plugins enable rabbitmq_web_stomp rabbitmq_stomp rabbitmq_auth_backend_http
	- Enable rabbitmq using systemd
		- systemctl --now enable rabbitmq-server