Skip to content

Commit 9ed9c4b

Browse files
imlucaskangas
authored andcommitted
🔨 Cracking at a repl helper.
1 parent 5d2d778 commit 9ed9c4b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

scripts/repl.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
cd ./dist/MongoDB\ Compass-darwin-x64/MongoDB\ Compass.app/Contents/Resources/app;
3+
npm install --log-level error;
4+
5+
DEBUG='*' \
6+
ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 \
7+
../../MacOS/Electron \
8+
-e "require('repl').start({terminal: true, prompt: 'compass> '});";

scripts/server.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DEBUG=* \
2+
ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 \
3+
./dist/MongoDB\ Compass-darwin-x64/MongoDB\ Compass.app/Contents/MacOS/Electron ./dist/MongoDB\ Compass-darwin-x64/MongoDB\ Compass.app/Contents/Resources/app/node_modules/scout-server/bin/scout-server-worker.js

0 commit comments

Comments
 (0)