settings.test.coffee 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Path = require "path"
  2. module.exports =
  3. # Options are passed to Sequelize.
  4. # See http://sequelizejs.com/documentation#usage-options for details
  5. mysql:
  6. clsi:
  7. database: "clsi"
  8. username: "clsi"
  9. password: null
  10. dialect: "sqlite"
  11. storage: Path.resolve("db.sqlite")
  12. path:
  13. compilesDir: Path.resolve(__dirname + "/../../../compiles")
  14. clsiCacheDir: Path.resolve(__dirname + "/../../../cache")
  15. #synctexBaseDir: (project_id) -> Path.join(@compilesDir, project_id)
  16. synctexBaseDir: () -> "/compile"
  17. clsi:
  18. #strace: true
  19. #archive_logs: true
  20. commandRunner: "docker-runner-sharelatex"
  21. latexmkCommandPrefix: ["/usr/bin/time", "-v"] # on Linux
  22. docker:
  23. image: "texlive-full:2016.1-opt"
  24. env:
  25. PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2016/bin/x86_64-linux/"
  26. HOME: "/tmp"
  27. modem:
  28. socketPath: false
  29. user: "111"
  30. internal:
  31. clsi:
  32. port: 3013
  33. load_port: 3044
  34. host: "localhost"
  35. apis:
  36. clsi:
  37. url: "http://localhost:3013"
  38. smokeTest: false
  39. project_cache_length_ms: 1000 * 60 * 60 * 24
  40. parallelFileDownloads:1