Browse Source

Merge pull request #5381 from overleaf/jpa-sqlite-cleanup

[misc] cleanup some more references following the removal of sqlite

GitOrigin-RevId: db5db9c0e2ba2557b11d64f65fdb5db1dcd2ec74
Jakob Ackermann 4 years ago
parent
commit
03b4e02c0f

+ 0 - 6
server-ce/init_scripts/00_make_sharelatex_data_dirs.sh

@@ -27,9 +27,3 @@ chown www-data:www-data /var/lib/sharelatex/tmp/uploads
 
 mkdir -p /var/lib/sharelatex/tmp/dumpFolder
 chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder
-
-if [ ! -e "/var/lib/sharelatex/data/db.sqlite" ]; then
-       touch /var/lib/sharelatex/data/db.sqlite
-fi
-
-chown www-data:www-data /var/lib/sharelatex/data/db.sqlite

+ 0 - 19
server-ce/settings.js

@@ -153,25 +153,6 @@ const settings = {
     project_history: redisConfig,
   },
 
-  // The compile server (the clsi) uses a SQL database to cache files and
-  // meta-data. sqlite is the default, and the load is low enough that this will
-  // be fine in production (we use sqlite at sharelatex.com).
-  //
-  // If you want to configure a different database, see the Sequelize documentation
-  // for available options:
-  //
-  //    https://github.com/sequelize/sequelize/wiki/API-Reference-Sequelize#example-usage
-  //
-  mysql: {
-    clsi: {
-      database: 'clsi',
-      username: 'clsi',
-      password: '',
-      dialect: 'sqlite',
-      storage: Path.join(DATA_DIR, 'db.sqlite'),
-    },
-  },
-
   // File storage
   // ------------
 

+ 0 - 5
services/clsi/README.md

@@ -104,11 +104,6 @@ sudo chmod g+s compiles
 This is a facet of the way docker works on Linux. See this [upstream issue](https://github.com/moby/moby/issues/7198)
 
 
-Config
-------
-
-The CLSI will use a SQLite database by default, but you can optionally set up a MySQL database and then fill in the database name, username and password in the config file at `config/settings.development.js`.
-
 API
 ---