Comparing version 1.4.18 to 1.7.9
@@ -246,2 +246,10 @@ ZEN-server | ||
El fichero **zen.js** debe ser configurado de la siguiente forma: | ||
```javascript | ||
require('zenserver').start(); | ||
``` | ||
De esta forma, el servidor arrancará en el puerto que hayas establecido en el | ||
@@ -248,0 +256,0 @@ fichero zen.yml así como el environment declarado. |
{ | ||
"name": "zenserver", | ||
"version": "1.4.18", | ||
"description": "a lean and mean http router for node.js", | ||
"homepage": "https://github.com/soyjavi/zenproxy", | ||
"keywords": [ | ||
"name" : "zenserver", | ||
"version" : "1.7.9", | ||
"description" : "a lean and mean http router for node.js", | ||
"homepage" : "https://github.com/soyjavi/zenproxy", | ||
"keywords" : [ | ||
"server", | ||
@@ -20,3 +20,3 @@ "router", | ||
"author": { | ||
"name": "Javi Jimenez", | ||
"name" : "Javi Jimenez", | ||
"email": "javi@tapquo.com" | ||
@@ -26,21 +26,21 @@ }, | ||
{ | ||
"name": "Catalina Oyaneder", | ||
"name" : "Catalina Oyaneder", | ||
"email": "cat2608@gmail.com" | ||
}, | ||
{ | ||
"name": "David Rey", | ||
"name" : "David Rey", | ||
"email": "david.rey.acosta@gmail.com" | ||
} | ||
], | ||
"dependencies": { | ||
"dependencies" : { | ||
"coffee-script": "*", | ||
"colors": "*", | ||
"formidable": "*", | ||
"hope": "*", | ||
"js-yaml": "*", | ||
"mongoose": "*", | ||
"mustache": "*", | ||
"redis": "*" | ||
"colors" : "*", | ||
"formidable" : "*", | ||
"hope" : "*", | ||
"js-yaml" : "*", | ||
"mongoose" : "*", | ||
"mustache" : "*", | ||
"redis" : "*" | ||
}, | ||
"main": "./zen.proxy.js", | ||
"main" : "./zen.proxy.js", | ||
"engines": { | ||
@@ -47,0 +47,0 @@ "node": "*" |
@@ -229,3 +229,10 @@ # ZEN-server | ||
``` | ||
The content of **zen.js** must be: | ||
```javascript | ||
require('zenserver').start(); | ||
``` | ||
The server runs in the port that you established in **zen.yml** file. You can overwrite values of zen.yml with command line: | ||
@@ -232,0 +239,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81140
574