create-fleetbo-project 1.2.4 → 1.2.6
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.
|
@@ -91,7 +91,7 @@ async function setupProject() {
|
|
|
91
91
|
// Étape 4 : Configuration du fichier .env
|
|
92
92
|
console.log(' [4/5] .env file configured successfully.');
|
|
93
93
|
//const envContent = `REACT_APP_FLEETBO_DB_KEY=${keys.fleetboDBKey}\nREACT_APP_ENTERPRISE_ID=${keys.enterpriseId}\n`; //99b426483d543b042209671dd53fb18
|
|
94
|
-
const envContent = `REACT_APP_FLEETBO_DB_KEY=${keys.fleetboDBKey}\nREACT_APP_ENTERPRISE_ID=99b426483d543b042209671dd53fb18\n`;
|
|
94
|
+
const envContent = `REACT_APP_FLEETBO_DB_KEY=${keys.fleetboDBKey}\nREACT_APP_ENTERPRISE_ID=99b426483d543b042209671dd53fb18\nREACT_KEY_APP=${projectName}\n`;
|
|
95
95
|
fs.writeFileSync(path.join(projectDir, '.env'), envContent, 'utf8');
|
|
96
96
|
|
|
97
97
|
// Étape 5 : Installation des dépendances
|
|
@@ -107,7 +107,7 @@ async function setupProject() {
|
|
|
107
107
|
console.log('\n🚀 Your Fleetbo project is ready !');
|
|
108
108
|
console.log(`\nTo get started, run the following commands :`);
|
|
109
109
|
console.log(` cd ${projectName}`);
|
|
110
|
-
console.log(`
|
|
110
|
+
console.log(` npx fleetbo start`);
|
|
111
111
|
|
|
112
112
|
} catch (error) {
|
|
113
113
|
console.error('\n An error occurred while creating the project :', error.message);
|