Sha256: 681bd3d508639840f910f14a2644d53197c9f91e8a4caa6e793865be9b1f0efc
Contents?: true
Size: 860 Bytes
Versions: 4
Compression:
Stored size: 860 Bytes
Contents
#!/bin/sh # Actualiza fuentes y base de datos if (test -f ".env") then { . .env } fi; if (test "${RAILS_ENV}" = "") then { RAILS_ENV=development } fi; bin/detiene if (test "$?" != "0") then { echo "Problema al detener"; exit 1; } fi; git pull if (test "$?" != "0") then { echo "Problema con git pull"; exit 1; } fi; bundle install if (test "$?" != "0") then { echo "Problema con bundle install"; exit 1; } fi; CXX=c++ yarn install echo "BD_USUARIO=${BD_USUARIO}" echo "BD_CLAVE=${BD_CLAVE}" echo "BD_DES=${BD_DES}" bin/rails db:prepare RAILS_ENV=$RAILS_ENV BD_USUARIO=$BD_USUARIO \ BD_CLAVE=$BD_CLAVE BD_PRO=$BD_PRO BD_DES=$BD_DES BD_PRUEBA=$BD_PRUEBA if (test "$?" != "0") then { echo "Problema con db:migrate"; exit 1; } fi; bin/corre if (test "$?" != "0") then { echo "Problema al volver a iniciar"; exit 1; } fi;
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
msip-2.2.0.beta1 | test/dummy/bin/migra |
msip-2.2.0.alfa3 | test/dummy/bin/migra |
msip-2.2.0.alfa2 | test/dummy/bin/migra |
msip-2.2a2 | test/dummy/bin/migra |