Shane Kilkelly 5ccf34aec5 Merge pull request #916 from overleaf/sk-new-migrations 5 anni fa
..
.github 41ee63c1f1 [misc] add the dependabot config of the buildscripts 6 anni fa
bin 90610acb59 [misc] bin/grunt: keep up with changes to create-admin script 5 anni fa
doc 436ba9cfb8 README beautification (#640) 7 anni fa
hotfix 00b6f09466 Hotfix 2.6.2 (#888) 5 anni fa
init_scripts 510b678dc6 Add init script to run migrations from web 5 anni fa
logrotate 276281e7e4 moved files from docker-image imported repo to root 6 anni fa
nginx 05885efe93 fix nginx conf (#896) 5 anni fa
runit 6c6335ce98 [misc] do not set SHARELATEX_CONFIG in run scripts 5 anni fa
vendor f849b94005 Variables in Nginx configuration (#853) 5 anni fa
.dockerignore 276281e7e4 moved files from docker-image imported repo to root 6 anni fa
.editorconfig 276281e7e4 moved files from docker-image imported repo to root 6 anni fa
.eslintrc 8f1da35bef [misc] setup eslint and prettier and fix any errors 5 anni fa
.gitignore 8c7f96c105 removed tags service 6 anni fa
.nvmrc 3c791751c1 updated node version 7 anni fa
.prettierrc 8f1da35bef [misc] setup eslint and prettier and fix any errors 5 anni fa
CONTRIBUTING.md a0e7ea16d2 Fix spelling errors (#823) 5 anni fa
Dockerfile f0bd9941dd [misc] bring back old schema of revision.txt 5 anni fa
Dockerfile-base ac1eb8fb50 [misc] goodbye grunt 5 anni fa
ISSUE_TEMPLATE d94b622a8e Update ISSUE_TEMPLATE 10 anni fa
ISSUE_TEMPLATE.md 5f509a9413 Create ISSUE_TEMPLATE.md 9 anni fa
LICENSE e84928f03a Create LICENSE 12 anni fa
Makefile 984eb3bf2d [perf] use docker layer caching from previous build 5 anni fa
README.md ac1eb8fb50 [misc] goodbye grunt 5 anni fa
docker-compose.debug.yml bff8cf75e5 Added mongo healthcheck to docker-compose (#636) 7 anni fa
docker-compose.yml cff06473ce Expose new smtp vars: 'name', and 'logger' (#854) 5 anni fa
genScript.js f0bd9941dd [misc] bring back old schema of revision.txt 5 anni fa
services.js a8ca0a896f [misc] fix listing of services for bin/ scripts 5 anni fa
settings.js adf3420c91 Renamed SAML setting `privateCert` -> `privateKey` 5 anni fa

README.md


Overleaf

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

Key Features • Wiki • Server Pro • Contributing • Mailing List • Authors • License

Overleaf

Figure 1: A screenshot of Overleaf Server Pro's comments and tracked changes features.

Key Features

Overleaf is an open-source online real-time collaborative LaTeX editor. We run a hosted version at 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 in your lab 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.

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.
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.