python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python src/display_image.py
Make sure you have the virtual environment activated
fastapi dev app.py --port 8042cd client/
pnpm install
pnpm devYou first need to add your ssh public key on the raspberry
ssh 192.168.10.223 -p 1030 -l napta
sudo su - piku
touch /tmp/<mysshkey>.pub
python3 piku.py setup:ssh /tmp/<mysshkey>.pubThen on your machine you need to add the remote
git remote add piku piku@192.168.10.223:1030/naptaledAnd you need to add the following to your ~/.ssh/config:
Host 192.168.10.223
Hostname 192.168.10.223
Port 1030
You are good to go, you can now deploy to the raspberry
cd client && pnpm build
git add <your changes>
git commit -m "your message"
./deploy.shTo see logs running on the raspberry:
ssh 192.168.10.223 -p 1030 -l piku logs naptaled