mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
docs: simplify deployment steps for frontend framework examples
This commit is contained in:
@@ -9,19 +9,16 @@ This example will deploy a simple Astro application.
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/astro`
|
- 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.
|
- Deploy your application by clicking the deploy button.
|
||||||
|
|
||||||
4. **Generate a Domain**:
|
3. **Generate a Domain**:
|
||||||
- Click on generate domain button.
|
- Click on generate domain button.
|
||||||
- A new domain will be generated for you.
|
- A new domain will be generated for you.
|
||||||
|
- Set Port `80`
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|
||||||
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
||||||
@@ -11,19 +11,15 @@ This example will deploy a simple Lit application.
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/lit`
|
- Build path: `/lit`
|
||||||
|
- Publish Directory: `./dist` (Nixpacks)
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
2. **Click on Deploy**:
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```cmd
|
|
||||||
NIXPACKS_START_CMD="pnpm run preview"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Click on Deploy**:
|
|
||||||
- Deploy your application by clicking the deploy button.
|
- Deploy your application by clicking the deploy button.
|
||||||
|
|
||||||
4. **Generate a Domain**:
|
3. **Generate a Domain**:
|
||||||
- Click on generate domain button.
|
- Click on generate domain button.
|
||||||
- A new domain will be generated for you.
|
- A new domain will be generated for you.
|
||||||
|
- Set Port `80`
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|
||||||
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
||||||
@@ -11,19 +11,15 @@ This example will deploy a simple Preact application.
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/preact`
|
- Build path: `/preact`
|
||||||
|
- Publish Directory: `./dist` (Nixpacks)
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
2. **Click on Deploy**:
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```cmd
|
|
||||||
NIXPACKS_START_CMD="pnpm run preview"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Click on Deploy**:
|
|
||||||
- Deploy your application by clicking the deploy button.
|
- Deploy your application by clicking the deploy button.
|
||||||
|
|
||||||
4. **Generate a Domain**:
|
3. **Generate a Domain**:
|
||||||
- Click on generate domain button.
|
- Click on generate domain button.
|
||||||
- A new domain will be generated for you.
|
- A new domain will be generated for you.
|
||||||
|
- Set Port `80`
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|
||||||
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
||||||
@@ -11,19 +11,15 @@ This example will deploy a simple Solid.js application.
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/solidjs`
|
- Build path: `/solidjs`
|
||||||
|
- Publish Directory: `./dist` (Nixpacks)
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
2. **Click on Deploy**:
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```cmd
|
|
||||||
NIXPACKS_START_CMD="pnpm run serve"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Click on Deploy**:
|
|
||||||
- Deploy your application by clicking the deploy button.
|
- Deploy your application by clicking the deploy button.
|
||||||
|
|
||||||
4. **Generate a Domain**:
|
3. **Generate a Domain**:
|
||||||
- Click on generate domain button.
|
- Click on generate domain button.
|
||||||
- A new domain will be generated for you.
|
- A new domain will be generated for you.
|
||||||
|
- Set Port `80`
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|
||||||
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
||||||
|
|||||||
@@ -11,19 +11,15 @@ This example will deploy a simple Svelte application.
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/svelte`
|
- Build path: `/svelte`
|
||||||
|
- Publish Directory: `./dist` (Nixpacks)
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
2. **Click on Deploy**:
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```cmd
|
|
||||||
NIXPACKS_START_CMD="pnpm run preview"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Click on Deploy**:
|
|
||||||
- Deploy your application by clicking the deploy button.
|
- Deploy your application by clicking the deploy button.
|
||||||
|
|
||||||
4. **Generate a Domain**:
|
3. **Generate a Domain**:
|
||||||
- Click on generate domain button.
|
- Click on generate domain button.
|
||||||
- A new domain will be generated for you.
|
- A new domain will be generated for you.
|
||||||
|
- Set Port `80`
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|
||||||
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
||||||
@@ -11,19 +11,15 @@ This example will deploy a simple Vite React application.
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/vite`
|
- Build path: `/vite`
|
||||||
|
- Publish Directory: `./dist` (Nixpacks)
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
2. **Click on Deploy**:
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```cmd
|
|
||||||
NIXPACKS_START_CMD="pnpm run preview"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Click on Deploy**:
|
|
||||||
- Deploy your application by clicking the deploy button.
|
- Deploy your application by clicking the deploy button.
|
||||||
|
|
||||||
4. **Generate a Domain**:
|
3. **Generate a Domain**:
|
||||||
- Click on generate domain button.
|
- Click on generate domain button.
|
||||||
- A new domain will be generated for you.
|
- A new domain will be generated for you.
|
||||||
|
- Set Port `80`
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|
||||||
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
||||||
@@ -10,19 +10,15 @@ This example will deploy a simple Vue.js application.
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/vuejs`
|
- Build path: `/vuejs`
|
||||||
|
- Publish Directory: `./dist` (Nixpacks)
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
2. **Click on Deploy**:
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```cmd
|
|
||||||
NIXPACKS_START_CMD="pnpm run preview"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Click on Deploy**:
|
|
||||||
- Deploy your application by clicking the deploy button.
|
- Deploy your application by clicking the deploy button.
|
||||||
|
|
||||||
4. **Generate a Domain**:
|
3. **Generate a Domain**:
|
||||||
- Click on generate domain button.
|
- Click on generate domain button.
|
||||||
- A new domain will be generated for you.
|
- A new domain will be generated for you.
|
||||||
|
- Set Port `80`
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|
||||||
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).
|
||||||
Reference in New Issue
Block a user