aboutsummaryrefslogtreecommitdiff
path: root/src/server/DashSession/templates/remote_debug_instructions.txt
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-01-10 14:14:05 -0500
committerSam Wilkins <samwilkins333@gmail.com>2020-01-10 14:14:05 -0500
commitcfba84bdfee74407b9dcbe80505f527ddb4b0433 (patch)
tree73e361116a07ebdcd8de0e3e7eedc7f112c6cf59 /src/server/DashSession/templates/remote_debug_instructions.txt
parent109abe78646c94903ef423aeb7db213087c4b92d (diff)
new folder
Diffstat (limited to 'src/server/DashSession/templates/remote_debug_instructions.txt')
-rw-r--r--src/server/DashSession/templates/remote_debug_instructions.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/server/DashSession/templates/remote_debug_instructions.txt b/src/server/DashSession/templates/remote_debug_instructions.txt
new file mode 100644
index 000000000..c279c460a
--- /dev/null
+++ b/src/server/DashSession/templates/remote_debug_instructions.txt
@@ -0,0 +1,16 @@
+Instructions:
+
+Download this attachment, open your downloads folder and find this file (__zipname__).
+Right click on the zip file and select 'Extract to __target__\'.
+Open up the command line, and remember 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, i.e. 4.0, goes here]/bin'
+
+Then run the following command (if you're in the bin folder, make that ./mongorestore ...):
+
+mongorestore --gzip [/path/to/directory/you/just/unzipped] --db Dash
+
+Assuming everything runs well, this will mirror your local database with that of the server. Now, just start the server locally and debug.
+
+__signature__ \ No newline at end of file