Skip to content

Commit

Permalink
Documentation code review
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleybl committed Jul 7, 2023
1 parent 7dff4fd commit d79b936
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/deploying/prefixed-root.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
myst:
html_meta:
"description": "Prefixed (non-root) deployment for Volto"
"property=og:description": "Prefixed (non-root) deployment for Volto"
"property=og:title": "Prefixed (non-root) deployment"
Expand All @@ -8,10 +9,10 @@ myst:

# Prefixed (non-root) deployment

If you're integrating a Volto website with another existing website, you may need to run Volto on a "folder" inside that website, rather than If you're integrating a Volto website with another existing website, you may need to run Volto on a virtual path inside that website instead of the root path.
If you're integrating a Volto website within another existing website, you may need to run Volto on a virtual path inside that website instead of the root path.

The first step is to set an environment variable `RAZZLE_PREFIX_PATH` to the prefixed path of your Volto.
For example, if I want Volto's root to be hosted at `http://example.com/my-prefix`, you need to start Volto with:
For example, if you want Volto's root to be hosted at `http://example.com/my-prefix`, you need to start Volto with:

```shell
RAZZLE_PREFIX_PATH=/my-prefix yarn start
Expand Down

0 comments on commit d79b936

Please sign in to comment.