Skip to content

Commit

Permalink
Upgrade Instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Oct 11, 2020
1 parent 29ae585 commit 26bc7f7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
* [Deployment Recommendations](#Deployment-Recommendation)
* [Installation - Docker](#docker)
* [Installation - Bare Metal](#server)
* [Multi-node installation](#Multi-Node-Installation)
* [Installation - Multi Node](#Multi-Node-Installation)
* [Upgrade](#upgrade)
* [Security](#security)
* [Usage](#usage)
* [License](#license)
Expand Down Expand Up @@ -139,6 +140,16 @@ If you want to install NERVE in a multi-node deployment, you can follow the norm
4. Run `apt-get remove redis` / `yum remove redis` (Depending on the Linux Distribution) since you will no longer need each instance to report to itself.
Don't forget to allow port 3769 inbound on the Redis instance, so that the NERVE instances can communicate with it.

# Upgrade
If you want to upgrade your platform, the fastest way is to simply git clone and overwrite all the files while keeping key files such as configurations.

* Make a copy of `config.py` if you wish to save your configurations
* Remove `/opt/nerve` and git clone it again.
* Move `config.py` file back into `/opt/nerve`
* Restart the service using `systemctl restart nerve`.

You could set up a cron task to auto-upgrade NERVE. There's an API endpoint to check whether you have the latest version or not that you could use for this purpose: `GET /api/update/platform`

# Security
There are a few security mechanisms implemented into NERVE you need to be aware of.

Expand Down

2 comments on commit 26bc7f7

@Sajibekanti
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks
Upgrade Working
Thanks, Team Paytm

@dolevf
Copy link
Contributor Author

@dolevf dolevf commented on 26bc7f7 Oct 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update

Please sign in to comment.