maguohua 8 years ago
parent
commit
336708533a
3 changed files with 1 additions and 7 deletions
  1. 1 1
      config/.gitignore
  2. 0 5
      config/online.js
  3. 0 1
      package.json

+ 1 - 1
config/.gitignore

@@ -1 +1 @@
-production.js
+!production.js

+ 0 - 5
config/online.js

@@ -1,5 +0,0 @@
-'use strict';
-
-module.exports = {
-	url: 'mongodb://localhost:27017/elm',
-}

+ 0 - 1
package.json

@@ -5,7 +5,6 @@
   "main": "index.js",
   "scripts": {
     "dev": "cross-env NODE_ENV=development supervisor --harmony index.js",
-    "online": "cross-env NODE_ENV=online supervisor --harmony index.js",
     "test": "echo \"Error: no test specified\" && exit 1",
     "start": "cross-env NODE_ENV=production pm2 start index.js --node-args='--harmony' --name 'node-elm'",
     "stop": "cross-env NODE_ENV=production pm2 stop index.js --name 'node-elm'",