needs hacked pacth in docker runner

wip

most tests pass
This commit is contained in:
Henry Oswald
2018-02-13 12:05:10 +00:00
parent b64106b730
commit 017ba3a4ec
19 changed files with 3008 additions and 1912 deletions

View File

@@ -8,6 +8,7 @@ ProcessTable = {} # table of currently running jobs (pids or docker container n
module.exports = LatexRunner =
runLatex: (project_id, options, callback = (error) ->) ->
console.log("LatexRunner", options.directory)
{directory, mainFile, compiler, timeout, image, environment} = options
compiler ||= "pdflatex"
timeout ||= 60000 # milliseconds