mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-08 21:30:46 +00:00
added debugging and new moving commands
This commit is contained in:
parent
6d21ab734a
commit
2d03cb3eb1
3 changed files with 11 additions and 6 deletions
services/clsi
|
@ -144,6 +144,10 @@ app.get "/smoke_test_force", (req, res)->
|
|||
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))(req, res)
|
||||
|
||||
|
||||
#TODO delete this
|
||||
app.get "/settings", (req, res)->
|
||||
res.json(Settings)
|
||||
|
||||
profiler = require "v8-profiler"
|
||||
app.get "/profile", (req, res) ->
|
||||
time = parseInt(req.query.time || "1000")
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Changing permissions of /var/run/docker.sock for sibling containers"
|
||||
cp /var/clsi/bin/synctex /var/clsi/bin/synctex-mount/synctex
|
||||
|
||||
chown root:docker /var/run/docker.sock
|
||||
chown app:app /app/compiles
|
||||
|
||||
mkdir -p /app/cache
|
||||
chown -R app:app /app/cache
|
||||
|
||||
mkdir -p /app/compiles
|
||||
chown -R app:app /app/compiles
|
||||
|
||||
./bin/install_texlive_gce.sh
|
||||
exec runuser -u app "$@"
|
|
@ -4,8 +4,5 @@ apt-get install poppler-utils vim ghostscript --yes
|
|||
npm rebuild
|
||||
usermod -aG docker app
|
||||
|
||||
mkdir -p /app/cache
|
||||
chown -R app:app /app/cache
|
||||
cp /app/bin/synctex /app/bin/synctex-mount/synctex
|
||||
|
||||
mkdir -p /app/compiles
|
||||
chown -R app:app /app/compiles
|
||||
|
|
Loading…
Add table
Reference in a new issue