refactor: standardize README deployment instructions across examples
This commit is contained in:
@@ -8,16 +8,10 @@ This repository contains an example of AstroJS application that is deployed on D
|
|||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/astro-ssr`
|
- Build path: `/astro-ssr`
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
2. **Click on Deploy**:
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```plaintext
|
|
||||||
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.
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "node ./dist/server/entry.mjs",
|
||||||
"build": "astro check && astro build",
|
"build": "astro check && astro build",
|
||||||
"preview": "astro preview --host 0.0.0.0",
|
"preview": "astro preview --host 0.0.0.0",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
|
|||||||
@@ -7,12 +7,7 @@ This repository contains an example of AstroJS application that is deployed on D
|
|||||||
- 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:
|
|
||||||
```plaintext
|
|
||||||
NIXPACKS_START_CMD="pnpm run preview"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Click on Deploy**:
|
3. **Click on Deploy**:
|
||||||
- Deploy your application by clicking the deploy button.
|
- Deploy your application by clicking the deploy button.
|
||||||
@@ -20,6 +15,7 @@ This repository contains an example of AstroJS application that is deployed on D
|
|||||||
4. **Generate a Domain**:
|
4. **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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,19 +7,14 @@ This repository contains an example of Lit application that is deployed on Dokpl
|
|||||||
- 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:
|
|
||||||
```plaintext
|
|
||||||
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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,19 +7,15 @@ This repository contains an example of Preact application that is deployed on Do
|
|||||||
- 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:
|
|
||||||
```plaintext
|
|
||||||
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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,17 +7,13 @@ This repository contains an example of Qwikjs application that is deployed on Do
|
|||||||
- Repository: `https://github.com/Dokploy/examples.git`
|
- Repository: `https://github.com/Dokploy/examples.git`
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Build path: `/qwik`
|
- Build path: `/qwik`
|
||||||
|
- Publish Directory: `./dist` (Nixpacks)
|
||||||
|
|
||||||
2. **Add Environment Variables**:
|
|
||||||
- Navigate to the "Environments" tab and add the following variable:
|
|
||||||
```plaintext
|
|
||||||
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.
|
||||||
- You can use this domain to access your application.
|
- You can use this domain to access your application.
|
||||||
|
|||||||
@@ -7,19 +7,15 @@ This repository contains an example of Solidjs application that is deployed on D
|
|||||||
- 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:
|
|
||||||
```plaintext
|
|
||||||
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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,19 +7,15 @@ This repository contains an example of Svelte application that is deployed on Do
|
|||||||
- 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:
|
|
||||||
```plaintext
|
|
||||||
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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,19 +7,15 @@ This repository contains an example of vuejs application that is deployed on Dok
|
|||||||
- 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:
|
|
||||||
```plaintext
|
|
||||||
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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2499
vite/pnpm-lock.yaml
generated
2499
vite/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -2,24 +2,22 @@
|
|||||||
|
|
||||||
This repository contains an example of vuejs application that is deployed on Dokploy.
|
This repository contains an example of vuejs application that is deployed on Dokploy.
|
||||||
|
|
||||||
This example assume you use `Nixpacks` as the build type.
|
|
||||||
|
|
||||||
1. **Use Git Provider in Your Application**:
|
1. **Use Git Provider in Your 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. **Set the publish publish directory**:
|
|
||||||
|
|
||||||
- Ensure you set it to `dist/`. Note that there is no dot before `dist`!
|
2. **Click on Deploy**:
|
||||||
|
|
||||||
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.
|
||||||
- Set the port to 80
|
|
||||||
|
|
||||||
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