ToolJet/docs/versioned_docs/version-3.0.0-LTS/setup/tooljet-subpath.md
Pratik Agrawal c9b01096f0
[docs]: Setup Update for V3 (#11290)
* updated ecs

* updated kuernetes

* ecs done

* Updated Setup Docs

* update google cloud run

* new update

* Updated env var

* Updated changes in 3.0.0

* update azure container

* updated the docker image in 3.0.0

* update env var and tj db
2024-11-12 15:50:47 +05:30

34 lines
1.5 KiB
Markdown

---
id: tooljet-subpath
title: Deploying ToolJet on a subpath
---
ToolJet can now be deployed at a subpath rather than the root (`/`) of a public domain. Example subpath installation URL: **`http://www.yourcompany.com/apps/tooljet`**
You'll need to setup the following environment variables if ToolJet installation is on a domain subpath:
| variable | value |
| -------- | ---------------------- |
| TOOLJET_HOST | the public URL ( eg: https://www.yourcompany.com ) |
| SUB_PATH | Set a subpath to this variable. The subpath is to be set with trailing `/` and is applicable only when the server is serving the frontend client. ( eg: `/apps/tooljet/` ) |
:::info
See all **[Environment Variables](./env-vars)** here.
:::
## Upgrading to the Latest Version
The latest version includes architectural changes and, hence, comes with new migrations.
If this is a new installation of the application, you may start directly with the latest version. This guide is not required for new installations.
#### Prerequisites for Upgrading to the Latest Version:
- It is **crucial to perform a comprehensive backup of your database** before starting the upgrade process to prevent data loss.
- Ensure that your current version is v2.23.0-ee2.10.2 before upgrading.
- Users on versions earlier than v2.23.0-ee2.10.2 must first upgrade to this version before proceeding to the latest version.
*If you have any questions feel free to join our [Slack Community](https://tooljet.com/slack) or send us an email at hello@tooljet.com.*