guardar formularios

This commit is contained in:
Javi Gallego 2017-01-02 07:44:26 +01:00
commit 58b38a6971
4 changed files with 35 additions and 4 deletions

22
.vscode/launch.json vendored
View File

@ -1,6 +1,7 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Iniciar",
"type": "node",
@ -61,6 +62,27 @@
"console": "internalConsole",
"sourceMaps": false,
"outFiles": []
},
{
"name": "gulp debug",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}\\@salix\\node_modules\\gulp\\bin\\gulp.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}\\@salix",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"console": "internalConsole",
"sourceMaps": false,
"outFiles": []
}
]
}

View File

@ -1,6 +1,6 @@
@echo off
set currentDir=%~dp0
set currentDir=%cd%
set nginxPrefix=%currentDir%\services\nginx
set nginxConf=%nginxPrefix%\conf-dev.conf
@ -12,18 +12,19 @@ goto caseUsage
:caseStart
call "%0" stop
echo "################################ Starting services"
if not exist "%nginxPrefix%\temp" (mkdir "%nginxPrefix%\temp")
start /I nginx -c "%nginxConf%" -p "%nginxPrefix%"
call forever start forever.json
call forever list
call mkdir "%nginxPrefix%\temp"
call start /b nginx -c "%nginxConf%" -p "%nginxPrefix%"
cd @salix
gulp
goto caseExit
:caseStop
echo "################################ Stoping services"
if exist "%nginxPrefix%\temp\nginx.pid" (nginx -c "%nginxConf%" -p "%nginxPrefix%" -s stop)
forever stopall
nginx -c "%nginxConf%" -p "%nginxPrefix%" -s stop
goto caseExit
:caseUsage

View File

@ -1,2 +1,3 @@
logs/*
static/*
temp/*

View File

@ -0,0 +1,7 @@
2016/12/28 09:50:24 [notice] 5196#5988: signal process started
2016/12/28 10:09:41 [notice] 11168#10432: signal process started
2016/12/28 14:03:31 [notice] 10312#9012: signal process started
2016/12/28 14:04:01 [notice] 9996#32: signal process started
2016/12/28 14:08:07 [notice] 7984#8980: signal process started
2016/12/28 14:13:33 [notice] 10144#6644: signal process started
2016/12/28 14:44:57 [notice] 3248#9176: signal process started