How to host on a website #283
Replies: 3 comments 3 replies
-
DisclaimerI've just discovered appflowy a couple of minutes ago and noticed the frontend is built with Flutter, a framework that I'm very familiar with. Its quite straight forward to host Flutter on the web, however, it's using Rust as well for some of its backend so that throws me a little bit off the hook. Sorry if none of this info will result into AppFlowy running on web! I will give it a try myself within a month. I have not looked into the source code of AppFlowy, I just wanted to give my thoughts straight away. What I would do (waste of time, but fun to try)Build Flutter web, without (Rust) backend running..From on top of my head, you might wanna look into the following links to build Flutter as a webapp and host it online. However, although AppFlowy will probably compile and be hosted online successfully, it most likely won't work since the backend (Rust) is not hosted together with the frontend (Flutter). You will have to figure out how to fix that. A solution would be to host the backend somewhere else and change the Flutter (frontend) code API calls to point to where you hosted the backend. This is because the frontend + backend is not running on the same server in this case.
ResultNow, again, assuming AppFlowy is built with plugins/dependencies that are web compatible (1), it compiles and is hosted online now. However its should be broken because its depending on the backend (Rust). In that case I will probably look into hosting the docker container to make things much easier. An alternative solution would be to host the (Rust) backend somewhere, and then change the Flutter code to point its API's to where you hosted the backend. What you should probably doHost docker containerRead this doc from AppFlowy that explains how to build a container: The goal is to host the docker container online. This link shows how to host a docker container using Google Cloud Run (free tier should be plenty enough): ResultAgain, I haven't tried this, but assuming you got an AppFlowy docker container and you used Google Cloud Run to host the container which gives you an URL, its probably working by now. Let me knowHope that this helps out someone or at least points someone to the right direction to get it running as an online webapp! References:
|
Beta Was this translation helpful? Give feedback.
-
Has anyone tried to host it on a website successfully? new to Appflowy and Flutter and looking for a notion alternative to collaborate for a small team, read the docs and didn't find if it supports collaborators... |
Beta Was this translation helpful? Give feedback.
-
yes! we need an appflowy to running in web page mode |
Beta Was this translation helpful? Give feedback.
-
Has anyone successfully gotten AppFlowy hosted on a website? If so, any chance y'all have it documented?
Beta Was this translation helpful? Give feedback.
All reactions