@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 +1 -1
- package/src/commands/create.js +15 -15
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -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(
|
|
209
|
-
console.log(c.yellow(
|
|
210
|
-
console.log(c.yellow(
|
|
211
|
-
console.log(c.yellow(
|
|
212
|
-
console.log(c.yellow(
|
|
213
|
-
console.log(c.yellow(`
|
|
214
|
-
console.log(c.yellow(
|
|
215
|
-
console.log(c.yellow(
|
|
216
|
-
console.log(c.yellow(
|
|
217
|
-
console.log(c.yellow(
|
|
218
|
-
console.log(c.yellow("
|
|
219
|
-
console.log(c.yellow(
|
|
220
|
-
console.log(c.yellow(
|
|
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
|
}
|