From edc36b79461d490048a5083fb54e5d77236e8531 Mon Sep 17 00:00:00 2001 From: Eric Brian Anil <38664231+EricBrianAnil@users.noreply.github.com> Date: Thu, 1 Oct 2020 02:51:43 +0530 Subject: [PATCH] Updated README.md Added the 'Upgrade from an Older Version' section to the Installation from the official Appwrite website docs as it would prove helpful to new comers --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 05a81489a2..eaf9570256 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Table of Contents: - [Windows](#windows) - [CMD](#cmd) - [PowerShell](#powershell) + - [Upgrade from an Older Version](#upgrade-from-an-older-version) - [Getting Started](#getting-started) - [Services](#services) - [SDKs](#sdks) @@ -82,6 +83,16 @@ Once the Docker installation completes, go to http://localhost to access the App For advanced production and custom installation, check out our Docker [environment variables](docs/tutorials/environment-variables.md) docs. You can also use our public [docker-compose.yml](https://appwrite.io/docker-compose.yml) file to manually set up and environment. +### Upgrade from an Older Version + +If you are upgrading your Appwrite server from an older version, you should use the Appwrite migration tool once your setup is completed. Make sure to run this tool after you already finished setting up the new version, as mentioned above. +To start the migration, run the following command from your terminal once your backup is ready and that your new Appwrite setup has completed successfully. + +``` docker exec [APPWRITE_CONTAINER_ID] migrate ``` + +Replace "[APPWRITE_CONTAINER_ID]" with your container ID. You can find your container ID by running `docker ps` command. + + ## Getting Started Getting started with Appwrite is as easy as creating a new project, choosing your platform and integrating its SDK in your code. You can easily get started with your platform of choice by reading one of our Getting Started tutorials.