thess / callattendant

A python-based automated call attendant, call blocker, and voice messaging system running on a Raspberry Pi or equivalent. Screens callers and block robocalls and scams with a low-cost system and modem.
https://thess.github.io/callattendant/
MIT License
12 stars 5 forks source link

Can you add a section to the documentation on how to update an installation, please? #36

Open thess opened 5 months ago

thess commented 5 months ago

Can you add a section to the documentation on how to update an installation, please?

Do you need to do a release?

I'm not sure how to update my installation to incorporate this change.

Originally posted by @b-morgan in https://github.com/thess/callattendant/issues/35#issuecomment-2041511483

thess commented 5 months ago

There are several examples in both the README and Wiki (https://github.com/thess/callattendant/wiki#install-the-software) Depending on how you installed your setup just run the same procedure you initially used.


# Option 1: Using pip - install latest from git trunk
$ source venv/bin/activate
$ pip3 install "callattendant@git+https://github.com/thess/callattendant"

# Option 2: From source (download source tarball from github or clone repository)
$ cd <download directory>
$ source <virtualenv-location>/venv/bin/activate
$ python3 setup.py install

# Option 3: Download and install 'wheel' from project releases.
$ wget https://github.com/thess/callattendant/releases/download/v1.7.4/callattendant-1.7.4-py3-none-any.whl
$ source venv/bin/activate
$ pip install -U callattendant-1.7.4-py3-none-any.whl
b-morgan commented 5 months ago

Thanks! Will the current database be retained or will a new one be created?

thess commented 5 months ago

All upgrades are clean. No customizations, settings, recordings or accumulated data will be overwritten. If the DB schema ever changes, I will provide an upgrade path.