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", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Iniciar", "name": "Iniciar",
"type": "node", "type": "node",
@ -61,6 +62,27 @@
"console": "internalConsole", "console": "internalConsole",
"sourceMaps": false, "sourceMaps": false,
"outFiles": [] "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 @echo off
set currentDir=%~dp0 set currentDir=%cd%
set nginxPrefix=%currentDir%\services\nginx set nginxPrefix=%currentDir%\services\nginx
set nginxConf=%nginxPrefix%\conf-dev.conf set nginxConf=%nginxPrefix%\conf-dev.conf
@ -12,18 +12,19 @@ goto caseUsage
:caseStart :caseStart
call "%0" stop call "%0" stop
echo "################################ Starting services" 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 start forever.json
call forever list call forever list
call mkdir "%nginxPrefix%\temp"
call start /b nginx -c "%nginxConf%" -p "%nginxPrefix%"
cd @salix cd @salix
gulp gulp
goto caseExit goto caseExit
:caseStop :caseStop
echo "################################ Stoping services" echo "################################ Stoping services"
if exist "%nginxPrefix%\temp\nginx.pid" (nginx -c "%nginxConf%" -p "%nginxPrefix%" -s stop)
forever stopall forever stopall
nginx -c "%nginxConf%" -p "%nginxPrefix%" -s stop
goto caseExit goto caseExit
:caseUsage :caseUsage

View File

@ -1,2 +1,3 @@
logs/*
static/* static/*
temp/* 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