Service-template-node/Updating

Updates to the service template are being regularly released. They usually contain important structural and/or security improvements, so it is important to keep your derived service up to date.

The very first step is adding the template repository's ref to your service repo's:

Update the refs and check-out the template locally into a branch:

Now switch to a topic branch and squash-merge the changes from the template:

There will likely be conflicts for you to resolve, so do it and add the resolved files to the commit index. Note that you need to be careful with : you will surely have conflicts there, so pay attention to the dependencies versions listed in the template's index and use them in yours. Be aware that the template itself also contains files that you do not really need, such as documentation files or the specification template. Inspect the list of such files and remove all of the unneeded ones:

Once you have made order in the repo (conflicts resolved, extra files removed from the index), commit your changes:

Now, all you have to do is to submit your changes (for review or create a PR) and you are done. Easy-peasy!