Merge pull request #11528 from overleaf/msm-history-data-ce

[CE] Add `path.projectHistories` to `settings.js`

GitOrigin-RevId: 97c249153baed793fff0fd564a9a75efdd6b2d32
This commit is contained in:
Miguel Serrano 2023-01-30 12:27:42 +01:00 committed by Copybot
parent 4eadd92598
commit c3889f8856
2 changed files with 8 additions and 0 deletions

View file

@ -211,6 +211,8 @@ const settings = {
clsiCacheDir: Path.join(DATA_DIR, 'cache'), clsiCacheDir: Path.join(DATA_DIR, 'cache'),
// Where to write the output files to disk after running LaTeX // Where to write the output files to disk after running LaTeX
outputDir: Path.join(DATA_DIR, 'output'), outputDir: Path.join(DATA_DIR, 'output'),
// Where to write intermediate file for full project history migration
projectHistories: Path.join(DATA_DIR, 'projectHistories'),
}, },
// Server Config // Server Config

View file

@ -19,6 +19,12 @@ chown www-data:www-data /var/lib/sharelatex/data/cache
mkdir -p /var/lib/sharelatex/data/template_files mkdir -p /var/lib/sharelatex/data/template_files
chown www-data:www-data /var/lib/sharelatex/data/template_files chown www-data:www-data /var/lib/sharelatex/data/template_files
mkdir -p /var/lib/sharelatex/data/history
chown www-data:www-data /var/lib/sharelatex/data/history
mkdir -p /var/lib/sharelatex/data/projectHistories
chown www-data:www-data /var/lib/sharelatex/data/projectHistories
mkdir -p /var/lib/sharelatex/tmp/dumpFolder mkdir -p /var/lib/sharelatex/tmp/dumpFolder
chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder