Skip to content

Instantly share code, notes, and snippets.

@hermesalvesbr
Last active June 20, 2022 22:59
Show Gist options
  • Save hermesalvesbr/64087fb185e86802d316a254c669cdc6 to your computer and use it in GitHub Desktop.
Save hermesalvesbr/64087fb185e86802d316a254c669cdc6 to your computer and use it in GitHub Desktop.
#!/bin/sh
## Shell Script para instalar portabilis/i-educar-reports-package.git
## 20/04/2022 11:45 AM
echo "#####|> Iniciando a instalação <|#####"
echo "Rode este script dentro de /var/www/ieducar/"
echo "1. Copiando do github..."
cd /var/www/ieducar && sudo rm -rf packages/portabilis/i-educar-reports-package
git clone https://github.com/portabilis/i-educar-reports-package.git packages/portabilis/i-educar-reports-package
rm -Rf ieducar/modules/Reports
echo "2. Composer na versão obrigatória..."
sudo composer self-update --2.2
echo "3. Instalando junto ao ieducar..."
sudo composer plug-and-play:update --no-interaction
sudo php artisan legacy:link
sudo php artisan community:reports:link
sudo php artisan reports:install
sudo php artisan storage:link
echo "Finalizado, comente algo em: https://gist.github.com/hermesalvesbr/64087fb185e86802d316a254c669cdc6"
@kesllan
Copy link

kesllan commented Jun 20, 2022

Valeu mano! Me salvou

@hermesalvesbr
Copy link
Author

Fico feliz em ajudar! Teu i-diario está funcionando de boa?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment