mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 06:18:34 +00:00
128 lines
5.4 KiB
Text
128 lines
5.4 KiB
Text
---
|
|
id: try-tooljet
|
|
title: Try ToolJet
|
|
slug: /setup/try-tooljet/
|
|
---
|
|
|
|
import '../../homepage.css';
|
|
import Link from '@docusaurus/Link';
|
|
|
|
export const Card = ({ className = '', href, children, isExternal }) => {
|
|
const cardContent = (
|
|
<div className={`relative rounded-lg bg-white dark:bg-gray-800 group pt-[0.5px] pb-[3px] shadow-[inset_0_0_0_1.2px_rgba(243,244,246,1)] dark:shadow-[inset_0_0_0_1.2px_rgba(55,65,81,1)] ${className}`}>
|
|
<div className="absolute inset-0 rounded-lg opacity-0 group-hover:opacity-100 transition-opacity duration-50"
|
|
style={{
|
|
background: 'linear-gradient(to bottom, #3B82F6, transparent) border-box',
|
|
border: '0px',
|
|
backgroundClip: 'padding-box, border-box',
|
|
backgroundOrigin: 'border-box',
|
|
pointerEvents: 'none'
|
|
}}>
|
|
</div>
|
|
<div className="m-0.5 relative z-10 h-full rounded-lg border border-gray-300 dark:border-gray-700 bg-white dark:bg-gray-900">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
);
|
|
return href ? (
|
|
isExternal ? (
|
|
<a href={href} target="_blank" rel="noopener noreferrer" className="no-underline hover:no-underline block h-full" style={{ textDecoration: 'none' }}>
|
|
{cardContent}
|
|
</a>
|
|
) : (
|
|
<Link to={href} className="no-underline hover:no-underline block h-full" style={{ textDecoration: 'none' }}>
|
|
{cardContent}
|
|
</Link>
|
|
)
|
|
) : cardContent;
|
|
};
|
|
|
|
export const TryCard = ({ iconId, title, description, href, isExternal }) => (
|
|
<Card href={href} isExternal={isExternal} className="h-full transition-all duration-300 ease-in-out hover:shadow-lg cursor-pointer group relative">
|
|
<div className="p-8 h-full flex flex-col">
|
|
<div className="flex flex-col space-y-1.5">
|
|
<img
|
|
src={`/img/setup/icons/${iconId}.svg`}
|
|
alt={title}
|
|
style={{ width: '40px', height: '40px', boxShadow: 'none', borderRadius: '0', marginBottom: '12px' }}
|
|
/>
|
|
<h3 className="text-xl font-semibold leading-none tracking-tight text-black dark:text-white" style={{ textDecoration: 'none' }}>{title}</h3>
|
|
</div>
|
|
<div className="pt-2 flex-grow">
|
|
<p className="text-sm text-gray-600 dark:text-gray-400" style={{ textDecoration: 'none' }}>{description}</p>
|
|
</div>
|
|
</div>
|
|
</Card>
|
|
);
|
|
|
|
You can quickly try ToolJet without any complex setup. Choose one of the following options to get started:
|
|
|
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 items-stretch" style={{ marginTop: '1.5rem', marginBottom: '2.5rem' }}>
|
|
<TryCard
|
|
iconId="docker"
|
|
title="Local Docker"
|
|
description="Run ToolJet locally on your machine using a single Docker command. No external dependencies required."
|
|
href="#on-local-with-docker"
|
|
/>
|
|
<TryCard
|
|
iconId="ecs"
|
|
title="AWS Marketplace"
|
|
description="Deploy ToolJet directly from the AWS Marketplace with pre-configured infrastructure."
|
|
href="https://aws.amazon.com/marketplace/pp/prodview-fxjto27jkpqfg?sr=0-1&ref_=beagle&applicationId=AWSMPContessa"
|
|
isExternal={true}
|
|
/>
|
|
<TryCard
|
|
iconId="azure-marketplace"
|
|
title="Azure Marketplace"
|
|
description="Deploy ToolJet from the Microsoft Azure Marketplace as a virtual machine."
|
|
href="https://marketplace.microsoft.com/en-us/product/tooljetsolutioninc1679496832216.tooljet-vm?tab=Overview"
|
|
isExternal={true}
|
|
/>
|
|
</div>
|
|
|
|
:::warning
|
|
To use ToolJet AI features in your deployment, make sure to whitelist `https://api-gateway.tooljet.com` and `https://python-server.tooljet.com` in your network settings.
|
|
:::
|
|
|
|
## On Local With Docker
|
|
|
|
You can run the command below to have ToolJet up and running right away.
|
|
|
|
```bash
|
|
docker run \
|
|
--name tooljet \
|
|
--restart unless-stopped \
|
|
-p 80:80 \
|
|
--platform linux/amd64 \
|
|
-v tooljet_data:/var/lib/postgresql/16/main \
|
|
tooljet/try:ee-lts-latest
|
|
```
|
|
|
|
#### Setup Information
|
|
|
|
- Runs the ToolJet server on the port 80 on your machine.
|
|
- Container has postgres already configured within. All the data will be available in the docker volume `tooljet_data`.
|
|
- You can make use of `--env` or `--env-file` flag to test against various env configurables mentioned [here](/docs/setup/env-vars).
|
|
- Use `docker stop tooljet` to stop the container and `docker start tooljet` to start the container thereafter.
|
|
|
|
#### Dynamic Port Setup
|
|
|
|
To run the ToolJet server on a different port, such as 8080 or any other port of your choice, use the following command:
|
|
|
|
```sh
|
|
docker run \
|
|
--name tooljet \
|
|
--restart unless-stopped \
|
|
-p 8080:8080 \
|
|
-e PORT=8080 \
|
|
--platform linux/amd64 \
|
|
-v tooljet_data:/var/lib/postgresql/16/main \
|
|
tooljet/try:ee-lts-latest
|
|
```
|
|
|
|
- This command will start the ToolJet server on port 8080.
|
|
- The `-e PORT=8080` flag sets the `PORT` environment variable to 8080, allowing the ToolJet server to listen on port 8080.
|
|
|
|
By following these instructions, you can easily run the ToolJet server on the port of your choice, ensuring flexibility in your setup.
|
|
|
|
_If you have any questions feel free to join our [Slack Community](https://join.slack.com/t/tooljet/shared_invite/zt-2rk4w42t0-ZV_KJcWU9VL1BBEjnSHLCA) or send us an email at support@tooljet.com._
|