env.cmd y req 012
This commit is contained in:
parent
a7df1a8cea
commit
bfd2932112
|
@ -10,10 +10,13 @@ export {NAME as CUSTOMER_EDIT,
|
|||
COMPONENT as CUSTOMER_EDIT_COMPONENT} from './customer/edit/edit';
|
||||
export {NAME as CUSTOMER_DESCRIPTOR,
|
||||
COMPONENT as CUSTOMER_DESCRIPTOR_COMPONENT} from './customer/edit/descriptor';
|
||||
|
||||
export {NAME as CUSTOMER_ACTIONS,
|
||||
COMPONENT as CUSTOMER_ACTIONS_COMPONENT} from './customer/edit/actions';
|
||||
|
||||
export {NAME as CUSTOMER_DATA_BASIC_INDEX,
|
||||
COMPONENT as CUSTOMER_DATA_BASIC_INDEX_COMPONENT} from './customer/dataBasic';
|
||||
|
||||
|
||||
|
||||
export {NAME as NAVIGATION_INDEX,
|
||||
COMPONENT as NAVIGATION_INDEX_COMPONENT} from './navigation/index';
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<vn-horizontal>
|
||||
<vn-vertical>
|
||||
<vn-one>
|
||||
<h2>CLIENTE_ficha resumida</h2>
|
||||
</vn-one>
|
||||
<vn-horizontal>
|
||||
<vn-one>
|
||||
<vn-text>ALIAS</vn-text>
|
||||
</vn-one>
|
||||
</vn-horizontal >
|
||||
<vn-horizontal>
|
||||
<vn-two>
|
||||
<vn-text>ID CLIENTE</vn-text>
|
||||
<vn-text>COMERCIAL</vn-text>
|
||||
</vn-two>
|
||||
</vn-horizontal>
|
||||
</vn-horizontal>
|
|
@ -0,0 +1,8 @@
|
|||
import template from './index.html';
|
||||
import {module} from '../../module';
|
||||
|
||||
export const NAME = 'customerDataBasic';
|
||||
export const COMPONENT = {
|
||||
template: template
|
||||
};
|
||||
module.component(NAME, COMPONENT);
|
|
@ -15,8 +15,8 @@
|
|||
image: '',
|
||||
},
|
||||
{
|
||||
url: '/customer/edit/adress',
|
||||
state: 'customer-adress',
|
||||
url: '/customer/edit/address',
|
||||
state: 'customer-address',
|
||||
view:{
|
||||
'details':{
|
||||
template: '<customer-edit vn-one></customer-edit>',
|
||||
|
@ -25,5 +25,13 @@
|
|||
module: 'crud',
|
||||
description: '',
|
||||
image: '',
|
||||
},
|
||||
{
|
||||
url: '/customer/dataBasic',
|
||||
state: 'customer-data-basic',
|
||||
template: '<customer-data-basic vn-one></customer-data-basic>',
|
||||
module: 'crud',
|
||||
description: '',
|
||||
image: ''
|
||||
}
|
||||
]
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"ids": {
|
||||
"User": 2,
|
||||
"AccessToken": 1
|
||||
},
|
||||
"models": {
|
||||
"User": {
|
||||
"1": "{\"password\":\"$2a$10$6txTwO27TkbJitKUkZcXwOyEVtR9pd9wwQdBT54Su3x7yEHszvZgu\",\"email\":\"admin@admin.com\",\"id\":1}"
|
||||
},
|
||||
"AccessToken": {}
|
||||
}
|
||||
}
|
|
@ -5,9 +5,9 @@ services:
|
|||
context: ./@salix-services/account
|
||||
ports:
|
||||
- "3000:3000"
|
||||
customer:
|
||||
client:
|
||||
build:
|
||||
context: ./@salix-services/customer
|
||||
context: ./@salix-services/client
|
||||
ports:
|
||||
- "3002:3002"
|
||||
nginx:
|
||||
|
|
15
env.cmd
15
env.cmd
|
@ -5,7 +5,7 @@ if "%1"=="start" goto caseStart
|
|||
if "%1"=="stop" goto caseStop
|
||||
goto caseUsage
|
||||
|
||||
caseStart:
|
||||
:caseStart
|
||||
echo ######################
|
||||
echo "Arrancando Servicios"
|
||||
echo ######################
|
||||
|
@ -13,12 +13,12 @@ caseStart:
|
|||
call "%0" stop
|
||||
call forever start forever.json
|
||||
call forever list
|
||||
call nginx -c conf-dev.conf -p @salix
|
||||
call nginx -c conf-dev.conf
|
||||
call cd @salix
|
||||
call gulp
|
||||
exit 0
|
||||
goto salir
|
||||
|
||||
caseStop:
|
||||
:caseStop
|
||||
echo ######################
|
||||
echo "Parando Servicios"
|
||||
echo ######################
|
||||
|
@ -26,8 +26,9 @@ caseStop:
|
|||
call forever stopall
|
||||
call forever list
|
||||
call nginx -c conf-dev.conf -p @salix -s stop
|
||||
exit 0
|
||||
goto salir
|
||||
|
||||
caseUsage:
|
||||
:caseUsage
|
||||
echo "Usage: %0 [start|stop]"
|
||||
exit 1
|
||||
|
||||
:salir
|
Loading…
Reference in New Issue