Skip to content
Permalink
Browse files

Build production versions of CSS and JS during build

  • Loading branch information...
lovett committed Sep 8, 2019
1 parent be44678 commit a90f5073fd0f90b62434f5f7165ac046b1fc6f9b
Showing with 2 additions and 0 deletions.
  1. +2 −0 Makefile
@@ -98,6 +98,7 @@ install:

# Build the application in preparation for a production deployment
build:
npm run production
rsync -a --cvs-exclude \
--delete \
--delete-excluded \
@@ -140,6 +141,7 @@ build:
sed -i 's|$(PWD)/build|/mnt/toils-app|' build/bootstrap/cache/config.php
rm -rf build/storage
cd build && ln -sf /mnt/toils-storage storage
git checkout public/css/app.css public/js/app.js


# Build a QEMU virtual machine to run the application in production mode

0 comments on commit a90f507

Please sign in to comment.
You can’t perform that action at this time.