@webhikers/cli 1.1.8 → 1.1.10
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 +4 -16
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -156,7 +156,8 @@ export async function createCommand(name) {
|
|
|
156
156
|
github_app_uuid: config.githubAppUuid,
|
|
157
157
|
git_repository: `Webhikers/${name}`,
|
|
158
158
|
git_branch: "master",
|
|
159
|
-
build_pack: "
|
|
159
|
+
build_pack: "dockercompose",
|
|
160
|
+
docker_compose_location: "docker-compose.yml",
|
|
160
161
|
ports_exposes: "3000",
|
|
161
162
|
instant_deploy: false,
|
|
162
163
|
});
|
|
@@ -205,21 +206,8 @@ export async function createCommand(name) {
|
|
|
205
206
|
console.log(` ${c.bold("Coolify:")} ${config.coolifyUrl}`);
|
|
206
207
|
console.log(` ${c.bold("Dir:")} ${projectDir}`);
|
|
207
208
|
|
|
208
|
-
console.log(c.
|
|
209
|
-
console.log(c.yellow(
|
|
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(" └──────────────────────────────────────────────────┘"));
|
|
209
|
+
console.log(c.green(`\n Volumes are configured automatically via docker-compose.yml.`));
|
|
210
|
+
console.log(c.yellow(`\n To deploy: Open Coolify UI → Projects → "${name}" → Deploy`));
|
|
223
211
|
|
|
224
212
|
console.log(`\n ${c.bold("Local dev:")} cd ${name} && npm run dev\n`);
|
|
225
213
|
}
|