Deploying on Google Cloud #3164
Answered
by
masenf
dvaryani-bit
asked this question in
Q&A
-
Is it possible to get the complied code of a Reflex app in Fast API and React, so I can deploy on Google? |
Beta Was this translation helpful? Give feedback.
Answered by
masenf
Apr 25, 2024
Replies: 1 comment 1 reply
-
The only limitation with this approach is that you must configure missing pages to redirect to |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dvaryani-bit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reflex export
should provide afrontend.zip
which can be hosted with any static webserver, and abackend.zip
which contains the python code that can be executed viareflex run --backend-only
.The only limitation with this approach is that you must configure missing pages to redirect to
/404
so that dynamic routes (which don 't have actual html files) can be properly loaded on the client side.