1
Fork 0

Build on start on production

This commit is contained in:
Jake Howard 2017-01-14 20:07:46 +00:00
parent debd2acff6
commit 0709cd8c71
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 11 additions and 1 deletions

View File

@ -1 +1 @@
web: pelican -v && npm start
web: bash scripts/run-build-server.sh

View File

@ -0,0 +1,10 @@
#/usr/bin/env bash
# Make pelican build on startup
echo "> Building Site"
pelican -v
echo "Starting Server"
npm start