refactor: standardize README deployment instructions across examples

This commit is contained in:
Mauricio Siu
2025-02-23 19:33:33 -06:00
parent 60bc155ce6
commit f116faa9ff
11 changed files with 1386 additions and 1216 deletions

View File

@@ -8,16 +8,10 @@ This repository contains an example of AstroJS application that is deployed on D
- Branch: `main`
- Build path: `/astro-ssr`
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.
4. **Generate a Domain**:
3. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- You can use this domain to access your application.

View File

@@ -4,7 +4,7 @@
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"start": "node ./dist/server/entry.mjs",
"build": "astro check && astro build",
"preview": "astro preview --host 0.0.0.0",
"astro": "astro"