#!/usr/bin/env bash # Move into the root folder. cd $(dirname $(dirname $0)) # Download the covers. mkdir -p build/fedran-covers pushd build/fedran-covers s3cmd --access_key=$AWS_ACCESS_KEY_ID --access_token=$AWS_SECRET_ACCESS_KEY --host=$AWS_ENDPOINT --host-bucket=$AWS_ENDPOINT -P get s3://$AWS_BUCKET/fedran-covers.tar.bz2 tar -xjf fedran-covers.tar.bz2 popd # Build the project. npm run build