mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-25 15:37:37 +00:00
* add custom resolvers info and editable row selection info (#9057) * fix system requirements icon * add auth info for webhooks and fix casing * add regex custom validation info (#9068) * [docs]: Marketplace 1.7 updates (#9085) * [docs] Amazon redshift plugin * make minor improvements * add and update docs for marketplace 1.7 * update order of plugins in overview to match sidebar * create new version --------- Co-authored-by: Shubhendra <withshubh@gmail.com> * add the latest version in the versions.json file (#9094) * [docs]: Update PDF component (#9088) * update PDF component * merged with develop and added changes to the new version * update docs favicon: (#9118) * [docs] SSO revamp (#9031) * add method to set default language * update image settings through custom css and update screenshots for getting started and tooljet concepts (#9158) * fix read documentation button * fix formatting for setup icons (#9172) * fix sidebar link for aws lambda * Update static media (#9175) * updated the screenshots * reduced the gif size * reverted the package.json file * edited the zoomed in images and replaced some gifs with screenshots * removed one gif * update static media * update file names * update toolbar * fix file names * fix: dynamodb img path * update media for org management dashboard * fix: casing and formatting * update workspace constant media * update media in workspace settings and github * update github sso * minor change to github sso docs * minor fix * update google sso * change includeCurrentVersion flag to false --------- Co-authored-by: Asjad Ahmed Khan <iitasjad2001@gmail.com> Co-authored-by: Asjad Ahmed Khan <60435499+2001asjad@users.noreply.github.com> Co-authored-by: Karan Rathod <karan.altcampus@gmail.com> * Feature: Engagespot plugin (#9012) * feat(plugins): added engagespot plugin * feat(docs): added engagespot plugin docs * chore(engagespot-plugin): revised copywritings * Feature: Databricks data source (#9174) * plugin-created * Databricks integration * icon, error handling * removed unrelated changes from marketplace and frontend package-lock.json removed runAsync and maxRows timeouts pending * timeout implementation * socket timeout and error handling * resolve comments * resolve comments2 * solved render issue test connection improvements * solved undefined error * fix TJDB not null value fail for is operation (#9055) * fix TJDB not null value fail for is operation * handling not null and null case insenstive values * Support for marketplace plugin deploy on render preview app (#9221) * Fix for marketplace error on render preview app * add marketplace build command * Adding new workflow for building marketplace plugin * removed render app creation * [:docs] Add documentation for Databricks plugin (#9224) * add docs for databricks * update databricks docs * update docs * remove ref to clusters * bump to v2.34.0 * Fixed data source cypress failure (#9227) * updated spec with required text * updated mongodb and import spec * updated import spec --------- Co-authored-by: Karan Rathod <karan.altcampus@gmail.com> Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com> Co-authored-by: Midhun G S <gsmithun4@gmail.com> Co-authored-by: Shubhendra <withshubh@gmail.com> Co-authored-by: Aman Regu <amanregu@gmail.com> Co-authored-by: Asjad Ahmed Khan <iitasjad2001@gmail.com> Co-authored-by: Asjad Ahmed Khan <60435499+2001asjad@users.noreply.github.com> Co-authored-by: Jobin Jose <129726530+jobin-logidots@users.noreply.github.com> Co-authored-by: Syed Mohammad Akhtar Rizvi <85864291+ShazanRizvi@users.noreply.github.com> Co-authored-by: blank0537 <111295371+blank0537@users.noreply.github.com> Co-authored-by: Mekhla Asopa <59684099+Mekhla-Asopa@users.noreply.github.com>
114 lines
4 KiB
Markdown
114 lines
4 KiB
Markdown
---
|
|
id: client
|
|
title: Deploying ToolJet client
|
|
---
|
|
|
|
# Deploying ToolJet client
|
|
|
|
ToolJet client is a standalone application and can be deployed on static website hosting services such as Netlify, Firebase, S3/Cloudfront, etc.
|
|
|
|
You can build standalone client with the below command:
|
|
```bash
|
|
SERVE_CLIENT=false npm run build
|
|
```
|
|
|
|
*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.*
|
|
|
|
## Deploying ToolJet client on Firebase
|
|
|
|
:::tip
|
|
You should set the environment variable `TOOLJET_SERVER_URL` ( URL of the server ) while building the frontend and also set `SERVE_CLIENT` to `false`` for standalone client build.
|
|
|
|
For example: `SERVE_CLIENT=false TOOLJET_SERVER_URL=https://server.tooljet.com npm run build && firebase deploy`
|
|
:::
|
|
|
|
1. Initialize firebase project
|
|
```bash
|
|
firebase init
|
|
```
|
|
Select Firebase Hosting and set build as the static file directory
|
|
2. Deploy client to Firebase
|
|
```bash
|
|
firebase deploy
|
|
```
|
|
|
|
## Deploying ToolJet client with Google Cloud Storage
|
|
|
|
:::tip
|
|
You should set the environment variable `TOOLJET_SERVER_URL` ( URL of the server ) while building the frontend.
|
|
|
|
|
|
For example: `SERVE_CLIENT=false TOOLJET_SERVER_URL=https://server.tooljet.io npm run build`
|
|
:::
|
|
|
|
#### Using Load balancer
|
|
|
|
Tooljet client can be hosted from Cloud Storage bucket just like hosting any other static website.
|
|
Follow the instructions from google documentation [here](https://cloud.google.com/storage/docs/hosting-static-website).
|
|
|
|
Summarising the steps below:
|
|
1. Create a bucket and upload files within the build folder such that the `index.html` is at the bucket root.
|
|
|
|
2. Edit permissions for the bucket to assign *New principal* as `allUsers` with role as `Storage Object Viewer` and permit for public access for the bucket.
|
|
|
|
3. Click on *Edit website configuration* from the [buckets browser](https://console.cloud.google.com/storage/browser?_ga=2.180838119.1530169400.1637242882-657891227.1637242882) and specify the main page as `index.html`
|
|
|
|
4. Follow the [instructions](https://cloud.google.com/storage/docs/hosting-static-website#lb-ssl) on creating a load balancer for hosting a static website.
|
|
|
|
5. Optionally, create Cloud CDN to use with the backend bucket assigned to the load balancer.
|
|
|
|
6. After the load balancer is created there will be an IP assigned to it. Try hitting it to check the website is being loaded.
|
|
|
|
7. Use the load balancer IP as the static IP for the A record of your domain.
|
|
|
|
#### Using Google App Engine
|
|
|
|
1. Upload the build folder onto a bucket
|
|
|
|
2. Upload `app.yaml` file onto bucket with the following config
|
|
|
|
```yaml
|
|
runtime: python27
|
|
api_version: 1
|
|
threadsafe: true
|
|
|
|
handlers:
|
|
- url: /
|
|
static_files: build/index.html
|
|
upload: build/index.html
|
|
|
|
- url: /(.*)
|
|
static_files: build/\1
|
|
upload: build/(.*)
|
|
```
|
|
|
|
3. Activate cloud shell on your browser and create build folder
|
|
```bash
|
|
mkdir tooljet-assets
|
|
```
|
|
|
|
4. Copy the uploaded files onto an assets folder which is to be served
|
|
```bash
|
|
gsutil rsync -r gs://your-bucket-name/path-to-assets ./tooljet-assets
|
|
```
|
|
|
|
5. Deploy static assets to be served
|
|
```bash
|
|
cd tooljet-assets && gcloud app deploy
|
|
```
|
|
|
|
## 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.3-ee2.10.2 before upgrading.
|
|
|
|
- Users on versions earlier than v2.23.3-ee2.10.2 must first upgrade to this version before proceeding to the latest version.
|
|
|
|
For specific issues or questions, refer to our **[Slack](https://tooljet.slack.com/join/shared_invite/zt-25438diev-mJ6LIZpJevG0LXCEcL0NhQ#)**.
|