calpoly-csai / swanton

Swanton Pacific Ranch chatbot with a knowledge graph
MIT License
3 stars 1 forks source link

Bash script to monitor a directory for code updates #13

Open snekiam opened 4 years ago

snekiam commented 4 years ago

Objective

We want to be able to update the model and code by pushing a file to a pre-defined directory.

Key Result

Code on the Pi, as well as models, should be updatable.

Details

The zip file can be formatted however the implementer would like, but I'd suggest the zip file be simply the github repo. I'd suggest using a cronjob to monitor the target directory, and once a new file is dropped in, unzip it and copy some target files (we don't have a definitive list yet) to a target directory (also not defined yet).

Additional context Add any other context or screenshots about the feature request here.