You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 5, 2020. It is now read-only.
{type: 'list',name: 'appUsersOnly',message: 'Only allow access to users created for this app? Note: disallows admin users.',choices: ['false','true'],default: 0}
403
-
];
371
+
varprompts=[{
372
+
type: 'list',
373
+
name: 'mlVersion',
374
+
message: 'MarkLogic version?',
375
+
choices: ['8','7','6','5'],
376
+
default: 0
377
+
},{
378
+
type: 'input',
379
+
name: 'marklogicHost',
380
+
message: 'MarkLogic Host?',
381
+
default: 'localhost'
382
+
},{
383
+
type: 'input',
384
+
name: 'marklogicAdminUser',
385
+
message: 'MarkLogic Admin User?',
386
+
default: 'admin'
387
+
},{
388
+
type: 'input',
389
+
name: 'marklogicAdminPass',
390
+
message: 'Note: consider keeping the following blank, '+
391
+
'you will be asked to enter it at appropriate commands.\n? MarkLogic Admin Password?',
392
+
default: ''
393
+
},{
394
+
type: 'input',
395
+
name: 'appPort',
396
+
message: 'MarkLogic App/Rest port?',
397
+
default: 8040
398
+
},{
399
+
type: 'input',
400
+
name: 'xccPort',
401
+
message: 'XCC port?',
402
+
default: 8041,
403
+
when: function(answers){
404
+
returnanswers.mlVersion<8;
405
+
}
406
+
},{
407
+
type: 'input',
408
+
name: 'nodePort',
409
+
message: 'Node app port?',
410
+
default: 9070
411
+
},{
412
+
type: 'list',
413
+
name: 'template',
414
+
message: 'Select Template',
415
+
choices: [{
416
+
name: 'default',
417
+
value: 'default'
418
+
},{
419
+
name: '3-columns',
420
+
value: '3column'
421
+
},{
422
+
name: 'Dashboard',
423
+
value: 'dashboard'
424
+
},{
425
+
name: 'Full-screen map',
426
+
value: 'map'
427
+
},{
428
+
name: 'I don\'t know',
429
+
value: 'unsure'
430
+
}]
431
+
},{
432
+
type: 'list',
433
+
name: 'theme',
434
+
message: 'What is the main focus?',
435
+
when: function(ans){
436
+
returnans.template==='unsure';
437
+
},
438
+
choices: [{
439
+
name: 'Semantics',
440
+
value: '3column'
441
+
},{
442
+
name: 'Charts',
443
+
value: 'dashboard'
444
+
},{
445
+
name: 'Map/Graph',
446
+
value: 'map'
447
+
},{
448
+
name: 'Documents',
449
+
value: '3column'
450
+
},{
451
+
name: 'Other',
452
+
value: 'default'
453
+
}]
454
+
},{
455
+
type: 'list',
456
+
name: 'guestAccess',
457
+
message: 'Allow anonymous users to search data?',
458
+
choices: ['false','true'],
459
+
default: 0
460
+
},{
461
+
type: 'list',
462
+
name: 'disallowUpdates',
463
+
message: 'Disallow proxying update requests?',
464
+
choices: ['false','true'],
465
+
default: 0
466
+
},{
467
+
type: 'list',
468
+
name: 'appUsersOnly',
469
+
message: 'Only allow access to users created for this app? Note: disallows admin users.',
0 commit comments