Newer
Older

Yassine Doghri
committed
#!/bin/bash

Yassine Doghri
committed
set -e

Yassine Doghri
committed

Yassine Doghri
committed
# install only production dependencies using the --no-dev option
composer install --no-dev --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs

Yassine Doghri
committed

Yassine Doghri
committed
# build all production static assets (css, js, images, icons, fonts, etc.)

Yassine Doghri
committed
npm run build
npm run build:static