node.js - keep separate the local database for local dev and nodejutsu database URL for nodejitsu app? -


When I'm developing on your local box I mongodb: // localhost / data also extend my connection string is connected to that Mongodibi which is running locally.

But when I upload / update Nodjetsu your local app am I Nodjetsu mongodb: // nodejitsu_XXX: xyxyxyxy.mongolab.com: 29950 / Nodjetsu_ provided went URL XXX_nodejitsudb12121212 will change

how do I switch my localhost Mongo dB connection url between a provided Nodjetsu? I want every time to keep it changing and changes, when I want to test your local changes in cloud ...

I use nconf therefore, you can easily change between the different configurations of

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -