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 But when I upload / update Nodjetsu your local app am I Nodjetsu 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 mongodb: // localhost / data also extend my connection string is connected to that Mongodibi which is running locally.
mongodb: // nodejitsu_XXX: xyxyxyxy.mongolab.com: 29950 / Nodjetsu_ provided went URL XXX_nodejitsudb12121212 will change
Comments
Post a Comment