Back

[SOLVED]How to deploy local AppWrite to a VPS

  • 0
  • Flutter
  • Web
手羽先
9 Jun, 2023, 08:15

Currently, I am running AppWrite with Docker on a local PC, and DBs, etc. are created with AppWrite. How do I push the data in AppWrite? Please let me know if there are any articles that would be helpful. Thank you in advance.

TL;DR
The user wants to deploy a local AppWrite to a VPS. The solution is to use a script for deployment and ensure the same configuration as the local setup. For data migration, a community-made tool called data migrator can be used. The user can also check a relevant GitHub issue for more information. There is a YouTube video that explains how to host a backend service with AppWrite. The user is looking for articles on pushing data in AppWrite.
joeyouss
9 Jun, 2023, 09:22

Hi - I am not sure what it is you want to do but I think you would like to host your own backend service with Appwrite, You can see this video once: https://www.youtube.com/watch?v=RlXZWzUWtkE

手羽先
9 Jun, 2023, 09:23

Thanks for the reply! I watched this video. I think this is creating a new AppWrite service on the VPS, how do I push the Local AppWrite project to the VPS?

joeyouss
9 Jun, 2023, 09:25

just for info, have you tried Appwrite Cloud?

手羽先
9 Jun, 2023, 09:29

Sorry, I have never tried it.

手羽先
9 Jun, 2023, 09:32

What I wanted to know is how to develop an AppWrite project on my local Docker and apply it to my VPS.

joeyouss
9 Jun, 2023, 09:33

Got it so what you can do is:

joeyouss
9 Jun, 2023, 09:40
  1. Use this script https://gist.github.com/Meldiron/47b5851663668102a676aff43c6341f7 BUT would require you to use exact same configuration as locally, such as encryption key
  2. Write a script Regarding data migration (documents, files, ..)
  3. There is a community made tool though https://github.com/tannermeade/data-migrator
  4. Check the relevant issue here: https://github.com/appwrite/appwrite/discussions/2383
手羽先
9 Jun, 2023, 09:45

Thank you so much!!!

It helped me a lot. Based on this, I will actually try it. If it works, I will blog or write an article to introduce AppWrite👍

Thank you again for your help.

joeyouss
9 Jun, 2023, 09:48

Amazing! Looking forward to it ❤️

joeyouss
9 Jun, 2023, 09:48

let me know if you need anymore help

手羽先
9 Jun, 2023, 13:22

[SOLVED]How to deploy local AppWrite to a VPS

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more