Merge pull request #128 from dod-ccpo/build-assets-in-server-script

Compile assets before starting server
This commit is contained in:
patricksmithdds 2018-08-06 15:33:59 -04:00 committed by GitHub
commit a6d7b7a45c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,5 +4,8 @@
source "$(dirname "${0}")"/../script/include/global_header.inc.sh source "$(dirname "${0}")"/../script/include/global_header.inc.sh
# Compile js/css assets
yarn build
# Launch the app # Launch the app
run_command "./app.py ${LAUNCH_ARGS}" run_command "./app.py ${LAUNCH_ARGS}"