Commit 0cea0c1ad0b2db47a59c5ab0eafb8737840ea3a8
1 parent
58e0355c80
Exists in
fix_configuracion
se agregan datos faltantes para la configuración de ejemplo
Showing
2 changed files
with
9 additions
and
5 deletions
Show diff stats
gulpfile.js
| ... | ... | @@ -54,6 +54,8 @@ gulp.task('pre-install', function() { |
| 54 | 54 | gulp.src('package.json'), |
| 55 | 55 | replace('ssh://git@debonline.dyndns.org:', 'http://git.focasoftware.com/'), |
| 56 | 56 | replace('.git', '.git#develop'), |
| 57 | + replace('foca-login.git#develop', 'foca-login.git#demo'), | |
| 58 | + replace('foca-nombre-empresa.git#develop', 'foca-nombre-empresa.git#demo'), | |
| 57 | 59 | gulp.dest('') |
| 58 | 60 | ]); |
| 59 | 61 | }); |
| ... | ... | @@ -63,6 +65,7 @@ gulp.task('post-install', function() { |
| 63 | 65 | gulp.src('package.json'), |
| 64 | 66 | replace('http://git.focasoftware.com/', 'ssh://git@debonline.dyndns.org:'), |
| 65 | 67 | replace('#develop', ''), |
| 68 | + replace('#demo', ''), | |
| 66 | 69 | gulp.dest('') |
| 67 | 70 | ]); |
| 68 | 71 | }); |
src/etc/develop.ejemplo.js
| 1 | -angular.module('appWrapperDemo') | |
| 2 | - .constant('API_ENDPOINT', { | |
| 3 | - 'URL': '//127.0.0.1:9000' | |
| 4 | - }) | |
| 5 | - .constant("APP", ''); // Posibles valores '', 'distribuidor', 'transportista' | |
| 1 | +angular.module('appWrapperFacturador') | |
| 2 | + .constant('API_ENDPOINT', { | |
| 3 | + 'URL': 'http://localhost:9900', | |
| 4 | + 'ENDPOINT_BASE': 'http://ypf.app.focasoftware.com:3030', | |
| 5 | + }) | |
| 6 | + .constant("APP", 'facturador'); // Posibles valores '', 'distribuidor', 'transportista', 'facturador' | |
| 6 | 7 | \ No newline at end of file |