marissa999 / decky-recorder

Other
66 stars 7 forks source link

Devops refactor #35

Closed safijari closed 1 year ago

safijari commented 1 year ago
  1. Move to the new plugin template style structure and migrate to using the decky_plugin object and the new makefile
  2. Remove build_zip.sh as the functionality is now accounted for in the makefile
  3. Logs will now be under ~/homebrew/logs/decky-recoder and will persist. We may need to cull them though, unsure

Workflow will be:

  1. Do a make init in the main directory
  2. Open .env file and fill out the details (make sure you can ssh into your deck using a key rather than a password)
  3. To build and deploy simply run make it. You will likely need to enter a sudo password for your machine as well as the deck
  4. The plugin will be copied to the deck and the plugin service will be restarted

Note: The /bin folder has moved to /backend/out now. This folder is not cleaned during reruns as the contents are unlikely to change. If you feel that there's stuff in there that shouldn't be there, simply delete the contents by hand. The same is true for the docker image. To remake the docker image go inside the backend directory and do docker rebuild.