-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] self-hosters publish to web #5920
Comments
Share my successful use of the Publish to the Web feature. https://blog.k8sre.cn/05ee1554-efde-462f-a10c-b528b558a318/-----appflowy-------8d6e89fb-7e4f-4974-bbe3-b30b9c487d69 |
There are some small suggestions for the published page
|
hey @smartyhero , is this available in self hosted version? how did u got the custom url? |
@smartyhero , Can you explain 3. a fixed-position document top/bottom button? How it would work? |
Provide a button to jump to the top or bottom of the page with one click |
You can open the URL I provided, which contains the operation process I recorded, but it is in Chinese, so you may need to translate it. I configured a domain name for the published page, but the domain name cannot be customized in appflowy at present, so you need to manually replace the URL provided by appflowy with your own domain name before accessing it. |
I managed to also publish pages on my self hosted environment, here is en excerpt of what ive done. My setup is a traefik that handle the publicly exposed dockers:
Here are the steps:
It updates the domain FROM alpine:latest
WORKDIR /tmp
RUN apk add git nodejs npm && npm install -g [email protected] && git clone https://github.com/AppFlowy-IO/AppFlowy
WORKDIR /tmp/AppFlowy/frontend/appflowy_web_app
RUN sed -i 's/test.appflowy.cloud/admin.example.com/g' /tmp/AppFlowy/frontend/appflowy_tauri/src-tauri/env.development /tmp/AppFlowy/frontend/appflowy_web_app/src/components/main/app.hooks.ts /tmp/AppFlowy/frontend/appflowy_tauri/src/appflowy_app/components/auth/auth.hooks.ts /tmp/AppFlowy/frontend/appflowy_flutter/lib/workspace/application/settings/settings_dialog_bloc.dart /tmp/AppFlowy/frontend/appflowy_tauri/src/appflowy_app/components/_shared/devtool/ManualSignInDialog.tsx /tmp/AppFlowy/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/setting_appflowy_cloud.dart /tmp/AppFlowy/frontend/appflowy_flutter/integration_test/desktop/settings/sign_in_page_settings_test.dart /tmp/AppFlowy/frontend/appflowy_flutter/integration_test/desktop/settings/sign_in_page_settings_test.dart && pnpm install && pnpm run build
ENTRYPOINT [ "pnpm", "run", "start", "--host" ]
Finally, just use the publish to web feature and update the link to use your domain (blog.example.com here) . Its the first working attempt I have, so the configuration may be improvable (mainly the nginx configuration is my first working attempt), but if you want to try yourself you can start from it :) |
@Hazegard Thank you very much.
How did you add the container to the stack? |
@luxio While I cannot comment on the preposters journey, please feel invited to also take inspiration from this comment in the tracking issue over at the backend side of things. The Dockerfile above helped me to extend my AppFlowy-IO/AppFlowy-Cloud#622 experiment quite easily with a custom static frontend alongside my AppFlowy-Cloud instance. Next step could be to reintegrate the modifications into the application container, in so it serves a frontend adapted to its endpoints. The suggestion is to 1st patch the deployment images and 2nd to modify this web app here to allow runtime configuration of the affected settings. The comment also mentions perceived regressions in the UX of the display, which makes a lot of effort to draw people to register to the instance. |
We now have four highly related tracking issues for two tightly related features in the two frontend and backend projects now:
Edit: The comment AppFlowy-IO/AppFlowy-Cloud#680 (comment) better fits here:
|
There has been some movement in this area around the release of v0.7.3 with #6614. |
There is a limitation for self-hosters, that the option is offered in AppFlowy, but breaks, due to generating false-positive URLs when being logged on to a self-hosted AppFlowy Cloud instance.
Also see:
Originally posted by @almereyda in #716 (comment)
The text was updated successfully, but these errors were encountered: