1
Fork 0

Add build script

This commit is contained in:
Jake Howard 2017-01-10 08:42:54 +00:00
parent 0a1f2fb825
commit 6e964e14c8
3 changed files with 9 additions and 4 deletions

View file

@ -7,3 +7,7 @@ machine:
BUILD_PRODUCTION: true
NODE_ENV: production
NPM_CONFIG_PRODUCTION: false
dependencies:
pre:
- scripts/build

5
scripts/build Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
export PATH=env/bin:${PATH}
pelican -o output/ -v

View file

@ -1,4 +0,0 @@
#!/usr/bin/env bash
cd output/
python3 -m pelican.server $PORT