Sha256: 66d32c258d3fe981f008f13eac165202d231d1dea4e41606fb217f4905952fdc
Contents?: true
Size: 1.69 KB
Versions: 2
Compression:
Stored size: 1.69 KB
Contents
#!/bin/sh # Variables de configuración de la aplicación # Damos precedencia a las especificadas en línea de ordenes # Base de datos if (test "$BD_SERVIDOR" = "") then { export BD_SERVIDOR=localhost } fi; if (test "$BD_USUARIO" = "") then { export BD_USUARIO=postgres } fi; if (test "$BD_CLAVE" = "") then { export BD_CLAVE=postgres } fi; if (test "$BD_DES" = "") then { export BD_DES=msipdes_des } fi; if (test "$BD_PRUEBA" = "") then { export BD_PRUEBA=msipdes_pru } fi; if (test "$BD_PRO" = "") then { export BD_PRO=msipdes_pro } fi; # Despliegue común en desarrollo y producción if (test "$CONFIG_HOSTS" = "") then { export CONFIG_HOSTS=127.0.0.1 } fi; if (test "$RUTA_RELATIVA" = "") then { export RUTA_RELATIVA=/msip/ } fi; if (test "$DIRAP" = "") then { export DIRAP="$HOME/work/msip/msip/test/dummy" } fi; if (test "$RAILS_ENV" = "") then { export RAILS_ENV=development } fi; # Despliegue en modo desarrollo if (test "$IPDES" = "") then { export IPDES=127.0.0.1 } fi; if (test "$PUERTODES" = "") then { export PUERTODES=3000 } fi; # Despliegue en modo producción con unicorn if (test "$RC" = "") then { export RC=msip } fi; if (test "$PUERTOUNICORN" = "") then { export PUERTOUNICORN=3015 } fi; if (test "$USUARIO_AP" = "") then { export USUARIO_AP=miusuario } fi; # Configuraciones de msip if (test "$DOAS_7Z" = "") then { export DOAS_7Z=0 # 1 para usar doas al crear respaldos con 7z } fi; if (test "$FORMATO_FECHA" = "") then { export FORMATO_FECHA='dd/M/yyyy' } fi; if (test "$MSIP_RUTA_ANEXOS" = "") then { export MSIP_RUTA_ANEXOS=${DIRAP}/archivos/anexos } fi; if (test "$MSIP_RUTA_VOLCADOS" = "") then { export MSIP_RUTA_VOLCADOS=${DIRAP}/archivos/bd } fi;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
msip-2.2.0.beta1 | test/dummy/.env.github |
msip-2.2.0.alfa3 | test/dummy/.env.github |