added debugging and new moving commands
This commit is contained in:
@@ -144,6 +144,10 @@ app.get "/smoke_test_force", (req, res)->
|
|||||||
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))(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"
|
profiler = require "v8-profiler"
|
||||||
app.get "/profile", (req, res) ->
|
app.get "/profile", (req, res) ->
|
||||||
time = parseInt(req.query.time || "1000")
|
time = parseInt(req.query.time || "1000")
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "Changing permissions of /var/run/docker.sock for sibling containers"
|
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 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
|
./bin/install_texlive_gce.sh
|
||||||
exec runuser -u app "$@"
|
exec runuser -u app "$@"
|
||||||
@@ -4,8 +4,5 @@ apt-get install poppler-utils vim ghostscript --yes
|
|||||||
npm rebuild
|
npm rebuild
|
||||||
usermod -aG docker app
|
usermod -aG docker app
|
||||||
|
|
||||||
mkdir -p /app/cache
|
cp /app/bin/synctex /app/bin/synctex-mount/synctex
|
||||||
chown -R app:app /app/cache
|
|
||||||
|
|
||||||
mkdir -p /app/compiles
|
|
||||||
chown -R app:app /app/compiles
|
|
||||||
|
|||||||
Reference in New Issue
Block a user