add cursed remote print functionality

This commit is contained in:
sigil-03 2025-12-26 18:21:15 -07:00
parent fd42fed19d
commit 4bfa581e9f
5 changed files with 53 additions and 0 deletions

View file

@ -1,6 +1,12 @@
#!/bin/sh
git submodule update --init --recursive
mkdir -p ${HOME}/.nomadnetwork/storage/plugins/print3d/files/
mkdir -p ${HOME}/.nomadnetwork/storage/plugins/print3d/printers/
mkdir -p ${HOME}/.nomadnetwork/storage/plugins/print3d/cache/
mkdir -p ${HOME}/.nomadnetwork/storage/pages/print3d/
yes | cp -rf ./pages/* ${HOME}/.nomadnetwork/storage/pages/print3d
python3 -m venv venv && source venv/bin/activate && pip install -r fetcher/requirements.txt
echo "print3d installed, make sure to make pages/print3d/index.mu accessible!"
echo "remote print3d installed, make sure to make pages/print3d/remote_print.mu accessible!"