fraction / oasis

Free, open-source, peer-to-peer social application that helps you follow friends and discover new ones on Secure Scuttlebutt (SSB).
http://oasis-demo.fraction.io
GNU Affero General Public License v3.0
287 stars 42 forks source link

Doc: Add upgrade instructions #790

Open adrienandrem opened 2 years ago

adrienandrem commented 2 years ago

What's the problem you want solved?

Benefit from bugfixes with no code knowledge.

Is there a solution you'd like to recommend?

README.md mentions "upgrade often".
In install.md, develop this with explicit shell command(s).

trosel commented 1 year ago

How does one upgrade the app in general (Without doing an uninstall and re-install that loses your data)?

Or, for faster updates and less stability, install Oasis from GitHub and upgrade often.

If one would do this advanced method, this is how I understand it:

Install first

git clone https://github.com/fraction/oasis.git
cd oasis
npm install -g --only=prod

Then to run oasis, just type oasis (do we need to add this to the path variables?)

Then to upgrade, cd into the oasis top level directory and run

git pull
npm install -g --only=prod

Is that right?