Updated Install (markdown)

Harvey Tindall 2020-04-13 15:01:07 +01:00
parent 7355c296ff
commit 1f66d214b0

@ -1,3 +1,36 @@
Currently, see [install](https://github.com/hrfee/jellyfin-accounts#install). ## Debian
First, acquire the software.
(Note: A simple guide for setting up with a reverse proxy and, say, gmail smtp would be useful.) `hrfee@lab:~$ git clone https://github.com/hrfee/jellyfin-accounts.git`
Next, enter the directory and run the install.
```
hrfee@lab:~$ cd jellyfin-accounts
hrfee@lab:~$ python3 setup.py install
```
Like me, you might encounter an error here.
On some systems, flask's dependency `python-ldap` has trouble building.
```
Modules/constants.h:7:10: fatal error: lber.h: No such file or directory
#include "lber.h"
^~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for python-ldap
```
To remedy this, some of its own dependencies need installing.
`hrfee@lab:~$ sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev`
Then all you need to do is re-run `python3 setup.py install`.
## Other OSes
It should be as simple as `python3 setup.py install`. If not, submit an issue.
## What next?
See [setup](https://github.com/hrfee/jellyfin-accounts/wiki/Setup).