@webhikers/cli 1.1.8 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webhikers/cli",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "CLI for creating and deploying webhikers projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -205,21 +205,21 @@ export async function createCommand(name) {
205
205
  console.log(` ${c.bold("Coolify:")} ${config.coolifyUrl}`);
206
206
  console.log(` ${c.bold("Dir:")} ${projectDir}`);
207
207
 
208
- console.log(c.yellow("\n ┌──────────────────────────────────────────────────┐"));
209
- console.log(c.yellow(" │ BEFORE FIRST DEPLOY: Add persistent volumes │"));
210
- console.log(c.yellow(" ├──────────────────────────────────────────────────┤"));
211
- console.log(c.yellow(" │ │"));
212
- console.log(c.yellow(" │ 1. Open Coolify UI → Projects │"));
213
- console.log(c.yellow(` │ 2. Select "${name}"${" ".repeat(Math.max(0, 34 - name.length))}│`));
214
- console.log(c.yellow(" │ 3. Go to Storages tab │"));
215
- console.log(c.yellow(" │ 4. Add volume: /app/data (SQLite DB) │"));
216
- console.log(c.yellow(" │ 5. Add volume: /app/public/media (Uploads) │"));
217
- console.log(c.yellow(" │ 6. Click Deploy │"));
218
- console.log(c.yellow(" │ │"));
219
- console.log(c.yellow(" │ Volumes MUST be added before the first deploy │"));
220
- console.log(c.yellow(" │ to ensure data persistence. │"));
221
- console.log(c.yellow(" │ │"));
222
- console.log(c.yellow(" └──────────────────────────────────────────────────┘"));
208
+ console.log(c.yellow(`\n ⚠ BEFORE FIRST DEPLOY: Add 2 persistent volumes\n`));
209
+ console.log(c.yellow(` 1. Open Coolify UI Projects → "${name}"`));
210
+ console.log(c.yellow(` 2. Click "Persistent Storage" in the left sidebar`));
211
+ console.log(c.yellow(` 3. Click "+ Add" → "Volume Mount" and fill in:`));
212
+ console.log(c.yellow(` Name: ${c.bold(`${name}-data`)}`));
213
+ console.log(c.yellow(` Source Path: ${c.dim("(leave empty)")}`));
214
+ console.log(c.yellow(` Destination Path: ${c.bold("/app/data")}`));
215
+ console.log(c.yellow(` → Click "Add"`));
216
+ console.log(c.yellow(` 4. Click "+ Add" "Volume Mount" again:`));
217
+ console.log(c.yellow(` Name: ${c.bold(`${name}-media`)}`));
218
+ console.log(c.yellow(` Source Path: ${c.dim("(leave empty)")}`));
219
+ console.log(c.yellow(` Destination Path: ${c.bold("/app/public/media")}`));
220
+ console.log(c.yellow(` → Click "Add"`));
221
+ console.log(c.yellow(` 5. Click "Deploy"\n`));
222
+ console.log(c.yellow(` Volumes MUST be added before the first deploy!`));
223
223
 
224
224
  console.log(`\n ${c.bold("Local dev:")} cd ${name} && npm run dev\n`);
225
225
  }