- Changes console.log and console.debug to relevant types - PASSWORD and I environment variables are now passed as arguments to npm commands - Added optional argument `--debug`. when passed, console.debug is also logged, else console.debug are turned off
22 lines
807 B
JavaScript
22 lines
807 B
JavaScript
let message = `
|
|
Exchange market
|
|
---------------
|
|
|
|
npm install - Install the app and node modules.
|
|
npm run help - List all commands.
|
|
npm run setup - Finish the setup (configure and reset password).
|
|
npm run configure - Configure the app.
|
|
npm run reset-password - Reset the password (for private-key).
|
|
npm run create-schema - Create schema in MySQL database.
|
|
npm run configure-backup - Configure the backup.
|
|
npm run create-backup-schema - Create backup-schema in MySQL database.
|
|
npm run backup - Run the backup-node.
|
|
|
|
npm start - Start the application (main).
|
|
|
|
NOTE: argument 'PASSWORD' required for 'npm start'
|
|
npm start -- -PASSWORD=<password>
|
|
|
|
`;
|
|
|
|
console.log(message); |