aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-01-09 20:33:33 -0500
committerSam Wilkins <samwilkins333@gmail.com>2020-01-09 20:33:33 -0500
commit78066e04b8c1fb9c25f7d24a7303b141b95d8162 (patch)
treee8839d2d05fa04c6d33ac20e54f30395707545e2 /src
parent384d67abbba7eeb0e21855f1446bbc41b251ead1 (diff)
improved instructions
Diffstat (limited to 'src')
-rw-r--r--src/server/DashSession.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/DashSession.ts b/src/server/DashSession.ts
index 11a5f1925..e127eacbf 100644
--- a/src/server/DashSession.ts
+++ b/src/server/DashSession.ts
@@ -94,10 +94,10 @@ export class DashSessionAgent extends Session.AppliedSessionAgent {
monitor.mainLog(`zip finalized with size ${statSync(zipPath).size}, saved to ${zipPath}`);
const instructions = [
`Instructions:\n\nDownload this attachment, open your downloads folder and find this file (${zipName}).`,
- `Right click on the zip file and select 'Extract to ${target}/'.`,
- "From the mongodb bin directory (unless it's in your path), run the following command:\n",
+ `Right click on the zip file and select 'Extract to ${target}\\'.`,
+ "Open up the command line, and remembe that you can get the path to any file or directory by literally dragging it from the file system and dropping it onto the terminal.",
+ "Unless it's in your path, you'll want to navigate to the mongodb bin directory, given for Windows: cd '/c/Program Files/MongoDB/Server/[your version goes here]/bin'. Then run the following command:\n",
"mongorestore --gzip [/path/to/directory/you/just/unzipped] --db Dash.\n",
- "You can get that path by literally dragging the directory from the file system and dropping it onto the terminal.",
"Assuming everything runs well, this will mirror your local database with that of the server.",
"Now, just start the server locally and debug.\n",
this.signature