Skip to content

fiduswriter/fiduswriter-tum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fiduswriter-tum

Fidus Writer integration for the Fidus Writer instance of the Technical University of Munich (TUM).

Installation

To install run this on the command line:

sudo bash
apt install python3-pip
cd /var/snap/fiduswriter/current
git clone [email protected]:fiduswriter/fiduswriter-tum.git
ln -s fiduswriter-tum/tum .
pip3 install -r tum/requirements.txt --target .
exit
sudo fiduswriter.configure

You will be presented with the configuration file. Add strings for LDAP_USER and LDAP_PASSWORD to access ldap://ads.mwn.de.

In order to manually mark users no longer registered with TUM as inactive, run:

sudo fiduswriter.manage check_tum_user_state

If you want to deelte users not registered with TUM directly, run it with the --delete flag:

sudo fiduswriter.manage check_tum_user_state --delete

If you want the system to do this process autoamtically, set up a cronjob by typing:

sudo crontab -e

In the editor that comes up enter a line such as the following in order to run the command automatically every Sunday at 3:25 am and not deleting users directly:

25 3 * * 7 /snap/bin/fiduswriter.manage check_tum_user_state

Remember that this repository does not update automatically the way the main Fidus Writer package does. You need to manually install new versions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published