You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/deployment.md
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -325,7 +325,7 @@ You can deploy a fresh Vue project, with a Git repository set up for you, with t
325
325
326
326
[](https://vercel.com/import/git?s=https%3A%2F%2Fgithub.com%2Fvercel%2Fvercel%2Ftree%2Fmaster%2Fexamples%2Fvue)
@@ -514,3 +514,36 @@ Deploy your application using nginx inside of a docker container.
514
514
curl localhost:8080
515
515
# <!DOCTYPE html><html lang=en>...</html>
516
516
```
517
+
### Appwrite
518
+
519
+
[Appwrite](https://appwrite.io) is an open-source, all-in-one cloud development platform that offers developers built-in backend infrastructure and [web hosting](https://appwrite.io/products/sites) for their apps. All sites deployed on Appwrite benefit from a global CDN, automatic deployments from GitHub, and various security features, including DDoS protection, Web Application Firewall (WAF), and TLS encryption.
520
+
521
+
#### Step 1: Create Vue.js app
522
+
523
+
Create a new Vue.js app using the Vue CLI (or setup [Appwrite's Vue.js starter template](https://github.com/appwrite/templates-for-sites/tree/main/vue/starter)) and push this project to a [GitHub repo](https://github.com/new).
524
+
525
+
#### Step 2: Setup Appwrite project
526
+
527
+
Head to the [Appwrite Console](https://cloud.appwrite.io/) and create a project.
528
+
529
+
#### Step 3: Deploy site
530
+
531
+
Head to the **Sites** page in your Appwrite project from the sidebar, click on the **Create site** button, and select **Connect a repository**.
532
+
533
+
Connect your GitHub account and select the repository you intend to deploy.
534
+
535
+
1. Select the **production branch** and **root directory** from your repo.
536
+
2. Verify that the **correct framework** is selected. In case an incorrect framework is visible, pick **Vue.js** from the drop-down list.
537
+
3. Confirm the **install command**, **build command**, and **output directory**in the build settings. The default build settings forVue.js are:
538
+
-**Install command:**`npm install`
539
+
-**Build command:**`npm run build`
540
+
-**Output directory:**`./dist`
541
+
4. Add any environment variables required by the site.
542
+
543
+
Click on the **Deploy**button. After successful deployment, you can visit your site.
0 commit comments