You'll need pandoc (a universal document converter) and a full TeX distribution.
For pandoc, you'll also need the pandoc-crossref filter that you can easily install with:
$ cabal update
$ cabal install pandoc-crossref
In a console, type:
pandoc --standalone --filter ~/.cabal/bin/pandoc-crossref --template=rescience-template.tex --latex-engine=xelatex --biblatex --bibliography=article.bib -M "crossrefYaml=crossref.yaml" --output article.tex article.md
xelatex article
biber article
xelatex article
xelatex article