Skip to content

Commit

Permalink
Merge pull request #802 from portabilis/plug-and-play
Browse files Browse the repository at this point in the history
[2.6] Corrige comandos do plug and play
  • Loading branch information
edersoares committed Oct 11, 2021
2 parents 173a798 + 7414b78 commit 8207a4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,16 @@
"npm": "npm install",
"new-install": [
"@composer install",
"@composer plug-and-play:install",
"@set-permissions",
"@php artisan key:generate --ansi",
"@php artisan legacy:link --ansi",
"@php artisan migrate --seed --force --ansi",
"@npm"
],
"update-install": [
"@composer update --plug-and-play",
"@composer update",
"@composer plug-and-play:update",
"@set-permissions",
"@php artisan legacy:link --ansi",
"@php artisan migrate --force --ansi",
Expand Down
3 changes: 2 additions & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ sed -i.bak 's/APP_DEBUG=true/APP_DEBUG=false/g' .env.example && rm .env.example.
sed -i.bak 's/DB_HOST=postgres/DB_HOST=localhost/g' .env.example && rm .env.example.bak
composer install --no-dev --ignore-platform-reqs --optimize-autoloader
git clone https://github.com/portabilis/i-educar-reports-package.git packages/portabilis/i-educar-reports-package
composer install --plug-and-play --no-dev --ignore-platform-reqs --optimize-autoloader
composer plug-and-play:install --no-dev --ignore-platform-reqs --optimize-autoloader
php artisan community:reports:link
rm -fR packages/portabilis/i-educar-reports-package/.git
cd packages/portabilis/i-educar-reports-package/ieducar/ReportSources
echo "Compilando relatórios..."
Expand Down

0 comments on commit 8207a4a

Please sign in to comment.