settings.defaults.coffee 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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(__dirname + "/../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. # clsi:
  17. # strace: true
  18. # archive_logs: true
  19. # commandRunner: "docker-runner-sharelatex"
  20. # docker:
  21. # image: "quay.io/sharelatex/texlive-full"
  22. # env:
  23. # PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2013/bin/x86_64-linux/"
  24. # HOME: "/tmp"
  25. # modem:
  26. # socketPath: false
  27. # user: "tex"
  28. # latexmkCommandPrefix: []
  29. # # latexmkCommandPrefix: ["/usr/bin/time", "-v"] # on Linux
  30. # # latexmkCommandPrefix: ["/usr/local/bin/gtime", "-v"] # on Mac OSX, installed with `brew install gnu-time`
  31. internal:
  32. clsi:
  33. port: 3013
  34. load_port: 3044
  35. host: "localhost"
  36. apis:
  37. clsi:
  38. url: "http://localhost:3013"
  39. smokeTest: false
  40. project_cache_length_ms: 1000 * 60 * 60 * 24
  41. parallelFileDownloads:1