mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Update wordings
This commit is contained in:
parent
99a486f112
commit
90149dae59
@ -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:');
|
||||
|
@ -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.`);
|
||||
|
@ -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',
|
||||
|
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user