mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use default settings file
This commit is contained in:
parent
5e5f9cf4e5
commit
d0816096b6
4 changed files with 17 additions and 23 deletions
2
services/filestore/.gitignore
vendored
2
services/filestore/.gitignore
vendored
|
@ -55,6 +55,8 @@ public/minjs/
|
||||||
test/unit/js/
|
test/unit/js/
|
||||||
test/acceptence/js
|
test/acceptence/js
|
||||||
|
|
||||||
|
user_files/*
|
||||||
|
|
||||||
**.swp
|
**.swp
|
||||||
|
|
||||||
/log.json
|
/log.json
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
Path = require "path"
|
||||||
|
|
||||||
module.exports =
|
module.exports =
|
||||||
internal:
|
internal:
|
||||||
filestore:
|
filestore:
|
||||||
|
@ -5,34 +7,24 @@ module.exports =
|
||||||
host: "localhost"
|
host: "localhost"
|
||||||
|
|
||||||
filestore:
|
filestore:
|
||||||
# which backend persistor to use.
|
# Which backend persistor to use.
|
||||||
# choices are
|
# Choices are
|
||||||
# s3 - Amazon S3
|
# s3 - Amazon S3
|
||||||
# fs - local filesystem
|
# fs - local filesystem
|
||||||
backend: "s3"
|
backend: "fs"
|
||||||
stores:
|
stores:
|
||||||
# where to store user and template binary files
|
# where to store user and template binary files
|
||||||
#
|
#
|
||||||
# For Amazon S3 this is the bucket name to store binary files in
|
# For Amazon S3 this is the bucket name to store binary files in.
|
||||||
# Must contain full url like: <bucketname>.s3.amazonaws.com
|
|
||||||
#
|
#
|
||||||
# For local filesystem this is the directory to store the files in.
|
# For local filesystem this is the directory to store the files in.
|
||||||
# Must contain full path, e.g. "/var/lib/sharelatex/data"
|
# Must contain full path, e.g. "/var/lib/sharelatex/data".
|
||||||
# This path must exist, not be tmpfs and be writable to by the user sharelatex is run as.
|
# This path must exist, not be tmpfs and be writable to by the user sharelatex is run as.
|
||||||
user_files: ""
|
user_files: Path.resolve(__dirname + "/../user_files")
|
||||||
s3:
|
|
||||||
# if you are using S3, then fill in your S3 details below
|
# if you are using S3, then fill in your S3 details below
|
||||||
key: ""
|
# s3:
|
||||||
secret: ""
|
# key: ""
|
||||||
|
# secret: ""
|
||||||
# ShareLaTeX stores binary files like images in S3.
|
|
||||||
# Fill in your Amazon S3 credentials below.
|
|
||||||
s3:
|
|
||||||
key: ''
|
|
||||||
secret: ''
|
|
||||||
buckets:
|
|
||||||
user_files: ""
|
|
||||||
template_files: ""
|
|
||||||
|
|
||||||
# Filestore health check
|
# Filestore health check
|
||||||
# ----------------------
|
# ----------------------
|
|
@ -2,8 +2,8 @@
|
||||||
"name": "filestore-sharelatex",
|
"name": "filestore-sharelatex",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"settings": "git+https://github.com/sharelatex/settings-sharelatex.git#master",
|
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#master",
|
||||||
"logger": "git+https://github.com/sharelatex/logger-sharelatex.git#master",
|
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#master",
|
||||||
"request": "2.14.0",
|
"request": "2.14.0",
|
||||||
"lynx": "0.0.11",
|
"lynx": "0.0.11",
|
||||||
"grunt-mocha-test": "~0.8.2",
|
"grunt-mocha-test": "~0.8.2",
|
||||||
|
|
0
services/filestore/user_files/.gitignore
vendored
Normal file
0
services/filestore/user_files/.gitignore
vendored
Normal file
Loading…
Reference in a new issue