Run the following command for development environment.
composer install
npm install
npm run build
npm run start
To update dependency versions according to composer.json (Modifies your composer.lock)
composer update
Run the following command for production environment to ignore the dev dependencies.
composer install --optimize-autoloader --no-dev -q
Set execution permission to the script file by chmod +x bin/build.sh command. Now, Run the following bash script.
bin/build.sh