From 385148fd7332e219cceb3b3b78c6b01f716ad3a0 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Tue, 23 Aug 2016 14:19:00 -0400 Subject: [PATCH] password for connection to postgres --- node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.md b/node.md index 0040e6c..adaba3c 100644 --- a/node.md +++ b/node.md @@ -358,7 +358,7 @@ Set up a database connection in `models/db.js` ```javascript var Sequelize = require('sequelize'); //require sequelize package -var DB_URL = process.env.DATABASE_URL || 'postgres://matthuntington@localhost:5432/sedstack'; //use either environment variable or static url +var DB_URL = process.env.DATABASE_URL || 'postgres://matthuntington:password@localhost:5432/sedstack'; //use either environment variable or static url var db = new Sequelize(DB_URL); //create the connection. Will not run multiple times, due to require cacheing the file