From 1fae501bea74fda3eb29f69a9c75806b36f42d45 Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Fri, 22 Apr 2016 15:33:07 -0700 Subject: [PATCH] Created Run dev client on prod db (markdown) --- Run-dev-client-on-prod-db.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Run-dev-client-on-prod-db.md diff --git a/Run-dev-client-on-prod-db.md b/Run-dev-client-on-prod-db.md new file mode 100644 index 0000000..c860ccc --- /dev/null +++ b/Run-dev-client-on-prod-db.md @@ -0,0 +1,11 @@ +## Problem + +You made changes to the client that you want to test on live data on the server. + +## Solution + +Use `npm run proxy` instead of `npm run nodemon`. You will need to be running `npm run brunch watch` separately. + +## Details + +When running the dev environment as a proxy, all non-static file requests are proxied to CodeCombat's production servers. While the changes to the server will not be reflected while running the dev environment as a proxy, you can still test new or changed pages. You may log into your live account and see how things look without copying data over to your local mongodb. You don't even need to have mongodb running or installed to run the proxy! \ No newline at end of file