There was an error while loading. Please reload this page.
cd _api_app
composer install --no-dev
cd editor
npm install
npm run build
engine/dist
editor
Shell script:
#!/bin/bash # Compile a Berta for production if [[ $(node -v) != v20* ]]; then echo "❌ Error: This script requires Node.js v20.x" echo "Current version: $(node -v)" echo "Please use Node.js v20 and try again. (nvm use 20)" exit 1 fi echo "✓ Node.js v20 detected" echo "Proceeding with the build..." echo "Install PHP dependencies" cd _api_app composer install --no-dev cd .. echo "Install legacy assets" npm install npm run build rm -rf node_modules echo "Install Angular editor dependencies" cd editor npm install npm run build cd .. rm -rf editor echo "Done."