diff --git a/.gitignore b/.gitignore index 7cad258cfd..29e7cdbef7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ junit.xml eslint.xml yarn-error.log build +lib64 # Other .DS_Store diff --git a/docs/source/recipes/creating-project.md b/docs/source/recipes/creating-project.md index c827973bdb..4f52bd1c7b 100644 --- a/docs/source/recipes/creating-project.md +++ b/docs/source/recipes/creating-project.md @@ -35,8 +35,7 @@ For using Volto for a project (i.e. use Volto as a library), You should use Volt cd myvoltoapp ``` -4. The project is ready to be started, `@plone/generator-volto` already has run the - dependencies installations for you. +4. The project is ready to be started, `@plone/generator-volto` already has run the dependencies installations for you. ```shell yarn start diff --git a/docs/source/recipes/environment-variables.md b/docs/source/recipes/environment-variables.md index da0f4d8038..6b8b79efc3 100644 --- a/docs/source/recipes/environment-variables.md +++ b/docs/source/recipes/environment-variables.md @@ -9,12 +9,16 @@ in order to ease configuration. These are the defaults: That means that your backend will be available under `http://localhost:3000/++api++` +```shell RAZZLE_DEV_PROXY_API_PATH = 'http://localhost:8080/Plone' +``` The internal proxy simulates a web server doing reverse proxy with standard Plone VHM config. You can configure this if required too: +```shell RAZZLE_PROXY_REWRITE_TARGET = '/VirtualHostBase/http/localhost:3000/Plone/++api++/VirtualHostRoot' +``` (this variable by default is parameterized like this: `/VirtualHostBase/http/${apiPathURL.hostname}:${apiPathURL.port}${instancePath}/++api++/VirtualHostRoot`)