20 lines
294 B
Bash
20 lines
294 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
# Install Composer dependencies
|
||
|
composer install --no-interaction
|
||
|
|
||
|
# Import locales on backend
|
||
|
php bin/console locale:import
|
||
|
|
||
|
# Install NPM dependencies
|
||
|
cd frontend
|
||
|
npm ci
|
||
|
|
||
|
# Import locales on frontend
|
||
|
npm run import-locales
|
||
|
|
||
|
# Build frontend assets
|
||
|
npm run build
|
||
|
|
||
|
eval "$@"
|