mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-06-07 13:43:31 +02:00
Added dotenv
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
REDIS_HOST=localhost
|
||||||
|
REDIS_PORT=6379
|
||||||
|
PORT=3000
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
public/js/
|
public/js/
|
||||||
*.log
|
*.log
|
||||||
|
.env
|
||||||
@@ -5,6 +5,9 @@
|
|||||||
* @copyright AlexKvazos 2015
|
* @copyright AlexKvazos 2015
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// load environment files from .env file
|
||||||
|
require('dotenv').load();
|
||||||
|
|
||||||
// create new express application
|
// create new express application
|
||||||
var express = require('express');
|
var express = require('express');
|
||||||
var app = express();
|
var app = express();
|
||||||
|
|||||||
+2
-2
@@ -5,12 +5,12 @@
|
|||||||
"main": "app/server",
|
"main": "app/server",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^2.1.3",
|
"debug": "^2.1.3",
|
||||||
|
"dotenv": "^1.1.0",
|
||||||
"express": "^4.12.3",
|
"express": "^4.12.3",
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
"grunt-browserify": "^3.7.0",
|
"grunt-browserify": "^3.7.0",
|
||||||
"grunt-contrib-uglify": "^0.9.1",
|
"grunt-contrib-uglify": "^0.9.1",
|
||||||
"mineflayer": "git@github.com:andrewrk/mineflayer.git",
|
"mineflayer": "git@github.com:andrewrk/mineflayer.git",
|
||||||
"node-mojangson": "^0.1.0",
|
|
||||||
"socket.io": "^1.3.5"
|
"socket.io": "^1.3.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"web"
|
"web"
|
||||||
],
|
],
|
||||||
"author": "AlexKvazos",
|
"author": "AlexKvazos",
|
||||||
"license": "Propietary Software",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/MCBoard/chat.alexkvazos.com/issues"
|
"url": "https://github.com/MCBoard/chat.alexkvazos.com/issues"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user