Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > LazyLibrarian

https://lazylibrarian.gitlab.io/

Installation

Custom installations of LazyLibrarian do not have authentication enabled by default! You must follow all of the installation instructions or LazyLibrarian will be publicly accessible, including full file system access.

virtualenv

Follow the instructions in the virtualenv article to install and activate a Python 3 virtual environment. If you have previously set up a virtualenv, you reuse it or create a new one with a different name.

LazyLibrarian

  1. git clone https://gitlab.com/LazyLibrarian/LazyLibrarian.git

  2. Create the virtualenv (if not created)

     virtualenv .env
    
  3. Activate virtualenv (if not activated)

     source ~/virtualenv/bin/activate
    
  4. Install Python dependencies for LazyLibrarian

     pip install apprise pillow irc levenshtein
    
  5. Start LazyLibrarian

     python ~/LazyLibrarian/LazyLibrarian.py --nolaunch --port=17828
    
  6. Access your webui at http://server.whatbox.ca:17828 and immediately set a username and password on the right side under Authentication. Do not use your Whatbox password(s).

  7. Return to the terminal and press Ctrl+c to end the process

  8. Launch LazyLibrarian as a daemon ~/virtualenv/bin/python ~/LazyLibrarian/LazyLibrarian.py --daemon and continue to access it from the above address.

If the above command does not work, this will also start it while inside the venv.

    .env/bin/python ~/LazyLibrarian/LazyLibrarian.py --daemon