Skip to content

Instantly share code, notes, and snippets.

@JoaoVagner
Created March 21, 2014 20:48
Show Gist options
  • Save JoaoVagner/9696087 to your computer and use it in GitHub Desktop.
Save JoaoVagner/9696087 to your computer and use it in GitHub Desktop.
#!/bin/bash
#START DEPLOY
echo "## == INICIANDO DELOY PARA ENVIROMENT TEST##"
echo "## == Acessando pasta do Enviroment DEV: /web/educare/dev/"
cd /web/educare/dev
##RESET GIT
echo "## == GIT RESET HARD"
env -i git reset --hard
##Atualizando repositorio
echo "## == GIT Requisitando arquivos do ORIGIN"
env -i git pull origin develop
## Set permission folder Framework
echo "## == FUEL Permission Folders"
php oil r install
sh test.sh
echo "## == TO-DO: Colocar Migrations e Mongo aqui"
echo "## == TO-DO: Acrescer Node, Make e compile do JAVASCRIPT DO ADMIN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment