docs: simplify deployment steps for frontend framework examples

This commit is contained in:
Mauricio Siu 2025-02-23 19:37:03 -06:00
parent 3cabc78bce
commit 005bba5e0c
7 changed files with 28 additions and 55 deletions

View File

@ -9,19 +9,16 @@ This example will deploy a simple Astro application.
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/astro`
- Publish Directory: `./dist` (Nixpacks)
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```cmd
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**:
2. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).

View File

@ -11,19 +11,15 @@ This example will deploy a simple Lit application.
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/lit`
- Publish Directory: `./dist` (Nixpacks)
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```cmd
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**:
2. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).

View File

@ -11,19 +11,15 @@ This example will deploy a simple Preact application.
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/preact`
- Publish Directory: `./dist` (Nixpacks)
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```cmd
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**:
2. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).

View File

@ -11,19 +11,15 @@ This example will deploy a simple Solid.js application.
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/solidjs`
- Publish Directory: `./dist` (Nixpacks)
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```cmd
NIXPACKS_START_CMD="pnpm run serve"
```
3. **Click on Deploy**:
2. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).

View File

@ -11,19 +11,15 @@ This example will deploy a simple Svelte application.
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/svelte`
- Publish Directory: `./dist` (Nixpacks)
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```cmd
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**:
2. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).

View File

@ -11,19 +11,15 @@ This example will deploy a simple Vite React application.
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/vite`
- Publish Directory: `./dist` (Nixpacks)
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```cmd
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**:
2. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).

View File

@ -10,19 +10,15 @@ This example will deploy a simple Vue.js application.
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/vuejs`
- Publish Directory: `./dist` (Nixpacks)
2. **Add Environment Variables**:
- Navigate to the "Environments" tab and add the following variable:
```cmd
NIXPACKS_START_CMD="pnpm run preview"
```
3. **Click on Deploy**:
2. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).