Removed create-schema command
- Removing create-schema command as its not creating triggers.
This commit is contained in:
parent
1ad701a70b
commit
8eb6d130d1
@ -19,7 +19,6 @@
|
|||||||
"setup": "node setup/post-install.js",
|
"setup": "node setup/post-install.js",
|
||||||
"configure": "node setup/configure-settings.js",
|
"configure": "node setup/configure-settings.js",
|
||||||
"reset-password": "node setup/reset-password.js",
|
"reset-password": "node setup/reset-password.js",
|
||||||
"create-schema": "node setup/create-schema.js",
|
|
||||||
"checksum-db": "node debug/checksum-db.js",
|
"checksum-db": "node debug/checksum-db.js",
|
||||||
"start": "node start.js"
|
"start": "node start.js"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -51,13 +51,13 @@ function configureSQL() {
|
|||||||
flaggedYesOrNo('Do you want to re-configure mySQL connection').then(value => {
|
flaggedYesOrNo('Do you want to re-configure mySQL connection').then(value => {
|
||||||
if (value) {
|
if (value) {
|
||||||
console.log('Enter mySQL connection values: ')
|
console.log('Enter mySQL connection values: ')
|
||||||
getInput.Text('Host', config['sql_host']).then(host => {
|
getInput.Text('MySQL Host', config['sql_host']).then(host => {
|
||||||
config['sql_host'] = host;
|
config['sql_host'] = host;
|
||||||
getInput.Text('Database name', config['sql_db']).then(dbname => {
|
getInput.Text('Database name', config['sql_db']).then(dbname => {
|
||||||
config['sql_db'] = dbname;
|
config['sql_db'] = dbname;
|
||||||
getInput.Text('MySQL username', config['sql_user']).then(sql_user => {
|
getInput.Text('MySQL username', config['sql_user']).then(sql_user => {
|
||||||
config['sql_user'] = sql_user;
|
config['sql_user'] = sql_user;
|
||||||
getInput.Text('Mysql password', config['sql_pwd']).then(sql_pwd => {
|
getInput.Text('MySQL password', config['sql_pwd']).then(sql_pwd => {
|
||||||
config['sql_pwd'] = sql_pwd;
|
config['sql_pwd'] = sql_pwd;
|
||||||
resolve(true);
|
resolve(true);
|
||||||
})
|
})
|
||||||
@ -98,6 +98,7 @@ function configure() {
|
|||||||
return reject(false);
|
return reject(false);
|
||||||
}
|
}
|
||||||
console.log('Configuration successful!');
|
console.log('Configuration successful!');
|
||||||
|
/*
|
||||||
if (sql_result) {
|
if (sql_result) {
|
||||||
getInput.YesOrNo('Do you want to create schema in the database').then(value => {
|
getInput.YesOrNo('Do you want to create schema in the database').then(value => {
|
||||||
if (value) {
|
if (value) {
|
||||||
@ -113,6 +114,7 @@ function configure() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else
|
} else
|
||||||
|
*/
|
||||||
resolve(true);
|
resolve(true);
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@ -5,9 +5,8 @@ Exchange market
|
|||||||
npm install - Install the app and node modules.
|
npm install - Install the app and node modules.
|
||||||
npm run help - List all commands.
|
npm run help - List all commands.
|
||||||
npm run setup - Finish the setup (configure and reset password).
|
npm run setup - Finish the setup (configure and reset password).
|
||||||
npm run configure - Configure the app.
|
npm run configure - Configure the node.
|
||||||
npm run reset-password - Reset the password (for private-key).
|
npm run reset-password - Reset the password (for private-key).
|
||||||
npm run create-schema - Create schema in MySQL database.
|
|
||||||
|
|
||||||
npm start - Start the application (main).
|
npm start - Start the application (main).
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user