mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
18 lines
411 B
Bash
18 lines
411 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
WEBPACK_ENV=production make minify &
|
||
|
make --no-print-directory format &
|
||
|
make --no-print-directory lint &
|
||
|
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master &
|
||
|
wait
|
||
|
|
||
|
chmod -R 0755 /app/public
|
||
|
chown -R node:node /app/public
|
||
|
|
||
|
set -B
|
||
|
|
||
|
rm -rf /app/data
|
||
|
mkdir -p /app/data/{dumpFolder,logs,pdf,uploads,zippedProjects}
|
||
|
chmod -R 0755 /app/data/
|
||
|
chown -R node:node /app/data/
|