overleaf/server-ce
Soptq f31d94c4a1 Update docker-compose.yml
Restrict redis version to 5.0.0
2020-05-09 14:36:59 +08:00
..
.github Added pull request template (#723) 2020-04-16 12:08:37 +02:00
bin Remove compilation step from document-updater 2020-05-06 14:32:53 +02:00
doc README beautification (#640) 2019-09-13 16:21:59 +02:00
hotfix moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
init_scripts moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
logrotate moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
migrations Added 'currentImageName' setting plus migration (#701) 2020-03-09 13:15:40 +01:00
nginx moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
runit moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
tasks Fix token creation on admin registration (#648) 2019-10-18 10:03:05 +02:00
.dockerignore moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
.editorconfig moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
.gitignore merged .gitignore 2020-02-17 13:58:48 +01:00
.nvmrc updated node version 2019-07-23 12:56:25 +00:00
CONTRIBUTING.md Update CLA and other links 2019-04-10 16:15:41 +01:00
docker-compose.debug.yml Added mongo healthcheck to docker-compose (#636) 2019-09-11 14:07:26 +02:00
docker-compose.yml Update docker-compose.yml 2020-05-09 14:36:59 +08:00
Dockerfile Try making the base image tag specifiable 2020-05-06 11:59:42 +01:00
Dockerfile-base updated texlive dir for path env variable (#719) 2020-04-15 13:15:10 +02:00
git-revision.sh moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
Gruntfile.coffee fix mongo connect issue, .connect no longer exists on mongojs 2018-01-31 11:04:58 +00:00
ISSUE_TEMPLATE Update ISSUE_TEMPLATE 2016-11-15 10:19:58 +00:00
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md 2017-07-25 14:25:56 +01:00
LICENSE Create LICENSE 2014-02-20 16:36:39 +00:00
Makefile Try making the base image tag specifiable 2020-05-06 11:59:42 +01:00
npm-shrinkwrap.json lockk down to latest versions of mongodb 2018-01-31 11:28:50 +00:00
package.json [misc] minimize the main stage (#122) 2020-02-13 16:38:58 +01:00
README.md merged README.md 2020-02-17 13:57:53 +01:00
services.js merged services.js 2020-02-17 14:00:29 +01:00
settings.coffee add allowedImageNames setting from ENV vars (#718) 2020-04-14 12:08:59 +02:00


Overleaf

An open-source online real-time collaborative LaTeX editor.

Key FeaturesWikiServer ProContributingMailing ListAuthorsLicense

Overleaf

Key Features

Overleaf is an open-source online real-time collaborative LaTeX editor. We run a hosted version at http://www.overleaf.com, but you can also run your own local version, and contribute to the development of Overleaf.

If you want help installing and maintaining Overleaf at your university or workplace, we offer an officially supported version called Overleaf Server Pro. It also comes with extra security and admin features. Click here to find out more!

Keeping up to date

Sign up to the mailing list to get updates on Overleaf Releases and development

Installation

We have detailed installation instructions in our wiki:

Upgrading

If you are upgrading from a previous version of Overleaf, please see the Release Notes section on the Wiki for all of the versions between your current version and the version you are upgrading to.

Other repositories

This repository does not contain any code. It acts a wrapper and toolkit for managing the many different Overleaf services. These each run as their own Node.js process and have their own Github repository. These are all downloaded and set up when you run grunt install

Service Description
web The front facing web server that serves all the HTML pages, CSS and JavaScript to the client. Also contains a lot of logic around creating and editing projects, and account management.
document-updater Processes updates that come in from the editor when users modify documents. Ensures that the updates are applied in the right order, and that only one operation is modifying the document at a time. Also caches the documents in redis for very fast but persistent modifications.
CLSI The Common LaTeX Service Interface (CLSI) which provides an API for compiling LaTeX documents.
docstore An API for performing CRUD (Create, Read, Update and Delete) operations on text files stored in Overleaf.
real-time The websocket process clients connect to.
filestore An API for performing CRUD (Create, Read, Update and Delete) operations on binary files (like images) stored in Overleaf.
track-changes An API for compressing and storing the updates applied to a document, and then rendering a diff of the changes between any two time points.
chat The backend API for storing and fetching chat messages.
tags The backend API for managing project tags (folders).
spelling An API for running server-side spelling checking on Overleaf documents.

Overleaf Docker Image

This repo contains two dockerfiles, Dockerfile-base, which builds the sharelatex/sharelatex-base image, and Dockerfile which builds the sharelatex/sharelatex (or "community") image.

The Base image generally contains the basic dependencies like wget and aspell, plus texlive. We split this out because it's a pretty heavy set of dependencies, and it's nice to not have to rebuild all of that every time.

The sharelatex/sharelatex image extends the base image and adds the actual Overleaf code and services.

Use make build-base and make build-community to build these images.

We use the Phusion base-image (which is extended by our base image) to provide us with a VM-like container in which to run the Overleaf services. Baseimage uses the runit service manager to manage services, and we add our init-scripts from the ./runit folder.

Contributing

Please see the CONTRIBUTING file for information on contributing to the development of Overleaf. See our wiki for information on setting up a development environment and how to recompile and run Overleaf after modifications.

Authors

The Overleaf Team

License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the LICENSE file.

Copyright (c) Overleaf, 2014-2019.