James Allen dfa9751edd Update CHANGELOG.md 11 лет назад
..
cache 74650cf678 Configure CLSI to use sqllite 12 лет назад
chef 5a9c8e0127 Add nginx config file to .deb build 12 лет назад
config 9e99bd835f Update default config to be more sane 12 лет назад
migrations 6f4545810f added some null checks and more persistance 11 лет назад
package bb03a0f500 Changed chdir to cd for changing directories 12 лет назад
.gitignore 6fd2e5e6d7 Add in real-time service 12 лет назад
.nvmrc b02248bffb Add .nvmrc 12 лет назад
CHANGELOG.md dfa9751edd Update CHANGELOG.md 11 лет назад
CONTRIBUTING.md 0ede6911dd Update CONTRIBUTING.md 12 лет назад
Gruntfile.coffee 93b091d84f Merge branch 'master' of https://github.com/sharelatex/sharelatex 11 лет назад
LICENSE e84928f03a Create LICENSE 12 лет назад
README.md f33d9956f9 added minimum memory requirements 11 лет назад
Vagrantfile ff3c813c7c Generate Secret keys properly and start services on boot 12 лет назад
package.json b95f94d90e moved to a file appending with grep data store 11 лет назад

README.md

ShareLaTeX

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

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

Installation

We have detailed installation instructions in our wiki:

If you have any problems, have a look at our page of Frequent Problems and Questions.

Dependencies

ShareLaTeX should run on OS X and Linux. You need:

  • Node.js 0.10 or greater. We recommend that you use nvm to install it.
  • The grunt command line tools (Run npm install -g grunt-cli to install them)
  • A local instance of Redis (version 2.6.12 or later) and MongoDB running on their standard ports.
  • TeXLive 2013 or later with the latexmk program installed.

ShareLaTeX needs a minimum of 2gb of memory, it is likely to be more than that though depending on usage.

Other repositories

This repository does not contain any code. It acts a wrapper and toolkit for managing the many different ShareLaTeX 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

The different services are:

web Build Status

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 Build Status

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 Build Status

The Common LaTeX Service Interface (CLSI) which provides an API for compiling LaTeX documents.

docstore Build Status

An API for performing CRUD (Create, Read, Update and Delete) operations on text files stored in ShareLaTeX.

filestore Build Status

An API for performing CRUD (Create, Read, Update and Delete) operations on binary files (like images) stored in ShareLaTeX.

track-changes Build Status

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 Build Status

The backend API for storing and fetching chat messages.

tags Build Status

The backend API for managing project tags (folders).

spelling

An API for running server-side spelling checking on ShareLaTeX documents.

Dropbox

Please note that certain features like Dropbox integration are not functional in the open source code base yet, despite appearing in the user interface. We're working on this, sorry!

Contributing

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

Authors

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) ShareLaTeX, 2014.