Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions app/views/docs/upgrade.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,20 @@

<p>This is the parent directory where you will find the <b>appwrite</b> directory, inside which there are <b>docker-compose.yml</b> and <b>.env</b> files.</p>

<h3><a href="/docs/installation#unix" id="unix">Unix</a></h3>
<h3><a href="/docs/upgrade#install-newest-version" id="install-new-version">Installing the Next Version</a></h3>

<div class="ide margin-bottom" data-lang="bash" data-lang-label="Bash">
<pre class="line-numbers"><code class="prism language-bash" data-prism>docker run -it --rm \
<ul class="phases clear" data-ui-phases>

<li>
<h4>Unix</h4>
<div class="ide margin-bottom" data-lang="bash" data-lang-label="Bash">
<pre class="line-numbers"><code class="prism language-bash" data-prism>docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:<?php echo APP_VERSION_STABLE; ?></code></pre>
</div>

<h3><a href="/docs/installation#windows" id="windows">Windows</a></h3>

<ul class="phases clear" data-ui-phases>
</div>
</li>
<li>
<h4>CMD</h4>

Expand Down Expand Up @@ -69,6 +70,8 @@

<p>Verify that the <b>STATUS</b> doesn't have any errors and all the <b>appwrite/appwrite</b> containers have version : <?php echo APP_VERSION_STABLE; ?></p>

<h3><a href="/docs/upgrade#run-the-migration" id="migration">Running the Migration</a></h3>

<p>We can now start the migration. Navigate to the <b>appwrite</b> directory where your <b>docker-compose.yml</b> is present and run the following command</p>

<div class="ide margin-bottom" data-lang="bash" data-lang-label="Bash">
Expand Down