As you are asking... (I noticed that now the docs are on dev-docs.plone.org... but anyway the content is the same, with the same twists that are still confusing me).
Environment variables: on Simple deployment โ Frontend โ Deploying โ Plone Documentation v6.0-dev it says:
(PORT=3000, API_PATH=http://localhost:8080/Plone).
But then uses RAZZLE_API_PATH
everywhere else, so API_PATH
or RAZZLE_API_PATH
?
And then, this API_PATH
is for the backend, i.e. volto connecting to Plone, but what about the frontend domain? i.e. in my example above I want to serve volto from volto.foo.com
while Plone should be served from www.foo.com
how do I achieve that? On this deploying/simple.html
I don't see it
Finally on that very same documentation there is an nginx snippet which is missing a closing curly brace (reported at Error on the simple deployment documentation nginx snippet ยท Issue #3157 ยท plone/volto ยท GitHub) but that example only has a location
part not the server
part where one, I would expect, has to define the domain one serves volto under, so is an incomplete example
Another thing, is that you run yarn build
and yarn start
by just reading the simple.html
documentation, but after the start it says that it's running in seamless mode, so, again, I'm getting confused: is seamless always on? Then this simple documentation needs to be merged already with the seamless mode documentation, as that one is meaningless if seamless mode is always on, or otherwise we are not told how to not enable seamless mode.
I'm not saying it needs to go away or be turned off, but from the documentation point of view, it looks like that's how it should work, but the reality is different, so either the code or the documentation should adapt to the other (I guess one will want to update the docs rather than revert the code )
Does any of that make sense?