Cross-platform support (Win, MacOS, Linux)

-All shell scripts have been removed and replaced with javascript equivalents which allows for better platform independence
-All scripts have been improved over the older shell scripts to be more functional and dynamic
-Updated all applicable cmds in the package.json to target the new js scripts + added the backup, restore and delete database functions to the list
-Removed the json and strip-json-comments-cli packages as they are no longer needed
-Added a new package realine-sync
-Updated cluster code with better Windows support when shutting down the explorer
-Backup and Restore scripts now use mongo's own encryption instead of tar.gz by default. Older tar.gz backups can still be restored as long as the tar.gz suffix is explicitly added
-Backup and Restore scripts now support connecting to remote database based on the mongo details in settings.json
-Updated README to include a new line for the 'platform independence' feature, updated script cmds and notes about certain steps being Linux only
This commit is contained in:
Joe Uhren
2022-04-23 11:28:32 -06:00
parent 5eeb6ed0c0
commit 8e32e294b7
21 changed files with 777 additions and 557 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ module.exports = {
if (err) {
console.log('Unable to connect to database: %s', database);
console.log('Aborting');
process.exit(1);
process.exit(999);
}
return cb();