Skip to content

Commit

Permalink
Tell deploy script to compile the nunjucks templates. Fix bug 960104.
Browse files Browse the repository at this point in the history
Through the makefile, it'll install any necessary npm packages first. None of the packages are needed in production; we just need them to build the templates.
  • Loading branch information
erikrose committed Mar 14, 2014
1 parent a4f95a4 commit 6cf1ab7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def build(self, rev):
python = join(new_build_path, VENV_NAME, 'bin', 'python')
run('{python} ./peep.py install -r requirements.txt',
python=python)
# Compile nunjucks templates:
run('make templates')
# Quiet the complaint about there being no matches for *.so:
run('{python} setup.py install 2>/dev/null', python=python)

Expand Down

0 comments on commit 6cf1ab7

Please sign in to comment.