Update wordings

This commit is contained in:
Alexandre Bodin 2019-07-08 16:13:36 +02:00
parent 99a486f112
commit 90149dae59
4 changed files with 8 additions and 8 deletions

View File

@ -24,6 +24,7 @@ module.exports = async scope => {
);
});
console.log();
console.log('Creating a project with custom database options.');
await trackUsage({ event: 'didConnectDatabase', scope });
return createProject(scope, configuration);
@ -68,7 +69,9 @@ async function askDbInfosAndTest(scope) {
)
.catch(err => {
if (retries < MAX_RETRIES - 1) {
console.log();
console.log(`⛔️ Connection test failed: ${err.message}`);
console.log();
if (scope.debug) {
console.log('Full error log:');

View File

@ -104,13 +104,13 @@ module.exports = async function createProject(
console.log('Available commands in your project:');
console.log();
console.log(` ${cmd} develop`);
console.log(' Starts Strapi in watch mode.');
console.log(' Start Strapi in watch mode.');
console.log();
console.log(` ${cmd} start`);
console.log(' Starts Strapi without watch mode.');
console.log(' Start Strapi without watch mode.');
console.log();
console.log(` ${cmd} build`);
console.log(' Builds Strapi admin panel.');
console.log(' Build Strapi admin panel.');
console.log();
console.log(` ${cmd} strapi`);
console.log(` Display all available commands.`);

View File

@ -1,7 +1,6 @@
'use strict';
const execa = require('execa');
const chalk = require('chalk');
const { trackUsage } = require('./utils/usage');
const defaultConfigs = require('./utils/db-configs.js');
@ -23,9 +22,7 @@ module.exports = async function createQuickStartProject(scope) {
await createProject(scope, configuration);
if (scope.runQuickstartApp === true) {
console.log(
`Running your Strapi application at ${chalk.green(scope.rootPath)}`
);
console.log(`Running your Strapi application.`);
await execa('npm', ['run', 'develop'], {
stdio: 'inherit',

View File

@ -53,7 +53,7 @@ module.exports = (projectDirectory, cliArguments) => {
parseDatabaseArguments({ scope, args: cliArguments });
initCancelCatcher(scope);
console.log(`Creating a new Strapi application in ${chalk.green(rootPath)}.`);
console.log(`Creating a new Strapi application at ${chalk.green(rootPath)}.`);
console.log();
return generateNew(scope).catch(error => {