• 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: August 13th, 2023

help-circle
  • Ok. Thank you for the explanation!

    I’m just now thinking out los here, but would it make sense to use a PowerShell script to silently install miniconda and create a venv with a specific version?

    Something like

    @echo off
    REM Download Miniconda installer (replace URL with the latest version)
    powershell -Command "Invoke-WebRequest https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -OutFile miniconda.exe"
    
    REM Install Miniconda silently
    start /wait "" miniconda.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%\Miniconda3
    
    REM Create a new environment with the specific Python version
    call %UserProfile%\Miniconda3\Scripts\activate.bat
    call conda create -y -n py39 python=3.9
    
    REM Optional: Set permissions for multi-user access
    icacls %UserProfile%\Miniconda3 /grant:r Users:(OI)(CI)F /T
    

    More on that here https://docs.anaconda.com/anaconda/install/silent-mode/

    Again, this is just an idea, but if this works then you won’t have a problem anymore (maybe?).





  • I’m happy it helped.
    I tried many systems (paperless and it’s derivatives as well) and I found docspell is a lot easier to use and has all the features I need.

    • I can archive emails by moving them to a category and docspell converts it to pdf and saves it to the database.
    • I can choose a file system storage or a database storage. I chose database storage (Postgres, which is also the default) because is a lot easier to backup)
    • I love the way I can categorize the files by adding recipient and sender. That way I can filter all the files related to a specific person.
    • I can export all the files in a filter to a zip file.
    • I can batch edit.

    That as a summary :)

    My only recommendations are

    • to deploy it using a tag in docker and not using automatically the latest version. That way you are in control of the updates.
    • And always do database backups :) (using a tag in docker means you can always redeploy a specific version.