Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit f3c5050

Browse files
Merge pull request #363 from appwrite/update-docs-for-cloud
feat: update docs for cloud
2 parents ecdb534 + c667746 commit f3c5050

4 files changed

Lines changed: 25 additions & 25 deletions

File tree

app/views/docs/configuration.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can find a full list of supported runtimes on the <a href="/docs/environment
4242

4343
<p>Appwrite supports AWS S3, Digital Ocean Spaces, Backblaze, Linode, and Wasabi as storage adaptors. Some of these services can be self-hosted, just like Appwrite.</p>
4444

45-
<p>You can select which storage adaptor to use by setting the <code>_APP_STORAGE_DEVICE</code> environment variable. Valid values are <code>local</code>, <code>s3</code>, <code>dospaces/code>, <code>backblaze</code>, <code>linode</code> and <code>wasabi</code>. Each storage adaptor requires its own set of environment variables to configure.</p>
45+
<p>You can select which storage adaptor to use by setting the <code>_APP_STORAGE_DEVICE</code> environment variable. Valid values are <code>local</code>, <code>s3</code>, <code>dospaces</code>, <code>backblaze</code>, <code>linode</code> and <code>wasabi</code>. Each storage adaptor requires its own set of environment variables to configure.</p>
4646

4747
<p>The maximum size for individual file uploads is controlled by the <code>_APP_STORAGE_LIMIT</code> environment variable, which defaults to 30 MB. See <a href="/docs/environment-variables#storage">Environment Variables</a> for more information.</p>
4848

app/views/docs/email-delivery.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<h2><a href="/docs/email-delivery#updateEnvFile" id="updateEnvFile">Update Your .env File</a></h2>
88

9-
<p>At this stage, we assume that you have already installed Appwrite. Else, you can follow our <a href="/docs/installation">Getting Started Guide</a> for the installation. Appwrite offers multiple environment variables to customize your server setup to your needs. To configure Appwrite to use your own SMTP server, you need to set the following environment variables in the hidden .env file that comes with your Appwrite installation.</p>
9+
<p>At this stage, we assume that you have already installed Appwrite. Else, you can follow our <a href="/docs/self-hosting">Self Hosting Guide</a> for the installation. Appwrite offers multiple environment variables to customize your server setup to your needs. To configure Appwrite to use your own SMTP server, you need to set the following environment variables in the hidden .env file that comes with your Appwrite installation.</p>
1010

1111
<p><b>_APP_SMTP_HOST</b> - SMTP server host name address. Use an empty string to disable all mail sending from the server. The default value for this variable is an empty string</p>
1212

app/views/docs/index.phtml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,6 @@ $cols = [
4343
</ul>
4444
</li>
4545
<li><a href="/docs/sdks">SDKs</a></li>
46-
<li>
47-
<a href="/docs/self-hosting"><i class="icon-right-dir"></i> Self-Hosting</a>
48-
49-
<ul class="margin-top-small margin-bottom-small">
50-
<li>&nbsp;&nbsp;<a href="/docs/configuration" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Configuration</a></li>
51-
<li>&nbsp;&nbsp;<a href="/docs/environment-variables" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Env. Variables</a></li>
52-
<li>&nbsp;&nbsp;<a href="/docs/email-delivery" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Email Delivery</a></li>
53-
<li>&nbsp;&nbsp;<a href="/docs/sms-delivery" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> SMS Delivery</a></li>
54-
<li>&nbsp;&nbsp;<a href="/docs/certificates" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Certificates</a></li>
55-
<li>&nbsp;&nbsp;<a href="/docs/debugging" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Debugging</a></li>
56-
<li>&nbsp;&nbsp;<a href="/docs/upgrade" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Upgrade</a></li>
57-
<li>&nbsp;&nbsp;<a href="/docs/production" data-selected="/docs/installation"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Production</a></li>
58-
</ul>
59-
</li>
6046
</ul>
6147

6248
<div class="margin-bottom-small">
@@ -123,6 +109,20 @@ $cols = [
123109
<li><a href="/docs/custom-domains">Custom Domains</a></li>
124110
<li><a href="/docs/response-codes">Response Codes</a></li>
125111
<li><a href="/docs/rate-limits">Rate Limits</a></li>
112+
<li>
113+
<a href="/docs/self-hosting"><i class="icon-right-dir"></i> Self-Hosting</a>
114+
115+
<ul class="margin-top-small margin-bottom-small">
116+
<li>&nbsp;&nbsp;<a href="/docs/configuration" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Configuration</a></li>
117+
<li>&nbsp;&nbsp;<a href="/docs/environment-variables" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Env. Variables</a></li>
118+
<li>&nbsp;&nbsp;<a href="/docs/email-delivery" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Email Delivery</a></li>
119+
<li>&nbsp;&nbsp;<a href="/docs/sms-delivery" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> SMS Delivery</a></li>
120+
<li>&nbsp;&nbsp;<a href="/docs/certificates" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Certificates</a></li>
121+
<li>&nbsp;&nbsp;<a href="/docs/debugging" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Debugging</a></li>
122+
<li>&nbsp;&nbsp;<a href="/docs/upgrade" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Upgrade</a></li>
123+
<li>&nbsp;&nbsp;<a href="/docs/production" data-selected="/docs/self-hosting"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Production</a></li>
124+
</ul>
125+
</li>
126126
</ul>
127127
</nav>
128128
</div>

app/views/docs/self-hosting.phtml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p>Appwrite was designed from the ground up with self-hosting in mind. You can install and run Appwrite on any operating system that can run a <a href="https://www.docker.com/products/docker-desktop" target="_blank" rel="noopener">Docker CLI</a>. Self-hosted Appwrite instances can be configured flexibly with access to the same features found on Appwrite Cloud.</p>
22

3-
<h2><a href="/docs/installation#systemRequirements" id="systemRequirements">System Requirements</a></h2>
3+
<h2><a href="#systemRequirements" id="systemRequirements">System Requirements</a></h2>
44

55
<p>Appwrite is designed to run well on both small and large deployments. The minimum requirements to run Appwrite are as little as <b>1 CPU core</b> and <b>2GB of RAM</b>, and an operating system that supports Docker.</p>
66

@@ -11,7 +11,7 @@
1111
<p>If you are migrating from an older version of Appwrite, you need to follow the <a href="/docs/upgrade">migration instructions</a>.</p>
1212
</div>
1313

14-
<h2><a href="/docs/installation#installWithDocker" id="installWithDocker">Install with Docker</a></h2>
14+
<h2><a href="#installWithDocker" id="installWithDocker">Install with Docker</a></h2>
1515

1616
<p>The easiest way to start running your Appwrite server is by running our Docker installer tool from your terminal. Before running the installation command, make sure you have <a href="https://www.docker.com/products/docker-desktop" target="_blank" rel="noopener">Docker CLI</a> installed on your host machine.</p>
1717

@@ -23,7 +23,7 @@
2323
<li>Your Appwrite instance's DNS A record hostname. Typically set to the same value as your Appwrite instance's hostname.</li>
2424
</ol>
2525

26-
<h3><a href="/docs/installation#unix" id="unix">Unix</a></h3>
26+
<h3><a href="#unix" id="unix">Unix</a></h3>
2727

2828
<div class="ide margin-bottom" data-lang="bash" data-lang-label="Bash">
2929
<pre class="line-numbers"><code class="prism language-bash" data-prism>docker run -it --rm \
@@ -33,7 +33,7 @@
3333
appwrite/appwrite:<?php echo APP_VERSION_STABLE; ?></code></pre>
3434
</div>
3535

36-
<h3><a href="/docs/installation#windows" id="windows">Windows</a></h3>
36+
<h3><a href="#windows" id="windows">Windows</a></h3>
3737

3838
<p>Hyper-V and Containers Windows features must be enabled to run Appwrite on Windows with Docker. If you don't have these features available, you can install <a href="https://docs.docker.com/desktop/windows/install/" target="_blank" rel="noopener">Docker Desktop</a> which uses Virtualbox to run Appwrite on a Virtual Machine.</p>
3939

@@ -63,7 +63,7 @@
6363
</li>
6464
</ul>
6565

66-
<h2><a href="/docs/installation#one-click-setups" id="one-click-setups">One-Click Setups</a></h2>
66+
<h2><a href="#one-click-setups" id="one-click-setups">One-Click Setups</a></h2>
6767

6868
<p>
6969
In addition to running Appwrite locally, you can also launch Appwrite using a pre-configured setup.
@@ -108,14 +108,14 @@
108108
</tbody>
109109
</table>
110110

111-
<h2><a href="/docs/installation#next-steps" id="next-steps">Next Steps</a></h2>
111+
<h2><a href="#next-steps" id="next-steps">Next Steps</a></h2>
112112
<p>Self-hosting Appwrite gives you more configurable options. You can customize Appwrite with your choice of S3 compatible storage adaptors, email and SMS providers, functions runtimes, and more.</p>
113113
<p><a href="/docs/configuration">Learn about configuring Appwrite</a></p>
114114

115115
<p>Self-hosted Appwrite instances can be made production ready. To run Appwrite successfully in a production environment, you should follow a few basic concepts and best practices.</p>
116116
<p><a href="/docs/production">Learn about Appwrite in production</a></p>
117117

118-
<h2><a href="/docs/installation#manual" id="manual">Manual (using docker-compose.yml)</a></h2>
118+
<h2><a href="#manual" id="manual">Manual (using docker-compose.yml)</a></h2>
119119

120120
<p>For advanced Docker users, the manual installation might seem more familiar. To set up Appwrite manually, download the Appwrite base <a href="/install/compose" target="_blank">docker-compose.yml</a> and <a href="/install/env" target="_blank">.env</a> files, then move them inside a directory named <code>appwrite</code>. After the download completes, update the different environment variables as you wish in the <code>.env</code> file and start the Appwrite stack using the following Docker command:</p>
121121

@@ -125,15 +125,15 @@
125125

126126
<p>Once the Docker installation completes, go to your machine's hostname or IP address on your browser to access the Appwrite console. Please note that on hosts that are not Linux-native, the server might take a few minutes to start after installation completes.</p>
127127

128-
<h2><a href="/docs/installation#stop" id="stop">Stop</a></h2>
128+
<h2><a href="#stop" id="stop">Stop</a></h2>
129129

130130
<p>You can stop your Appwrite containers by using the following command executed from the same directory as your <code>docker-compose.yml</code> file.</p>
131131

132132
<div class="ide margin-bottom" data-lang="bash" data-lang-label="Bash">
133133
<pre class="line-numbers"><code class="prism language-bash" data-prism>docker compose stop</code></pre>
134134
</div>
135135

136-
<h2><a href="/docs/installation#uninstall" id="uninstall">Uninstall</a></h2>
136+
<h2><a href="#uninstall" id="uninstall">Uninstall</a></h2>
137137

138138
<p>To stop and remove your Appwrite containers, you can use the following command executed from the same directory as your <code>docker-compose.yml</code> file.</p>
139139

0 commit comments

Comments
 (0)