overleaf/README.md

110 lines
6 KiB
Markdown
Raw Normal View History

2014-02-12 11:24:13 +00:00
ShareLaTeX
==========
2014-08-18 10:10:01 +00:00
[ShareLaTeX](https://www.sharelatex.com) 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.
2014-02-21 10:18:33 +00:00
2014-10-21 13:20:53 +00:00
*[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!](https://www.sharelatex.com/university/onsite.html)*
2014-02-21 10:18:33 +00:00
Installation
------------
2014-02-08 19:40:56 +00:00
2014-08-18 10:10:01 +00:00
We have detailed installation instructions in our wiki:
2014-08-18 10:10:01 +00:00
* [Installing ShareLaTeX in Production](https://github.com/sharelatex/sharelatex/wiki/Production-Installation-Instructions)
* [Setting up a ShareLaTeX Development Environment](https://github.com/sharelatex/sharelatex/wiki/Setting-up-a-Development-Environment)
2014-08-19 16:07:18 +00:00
**If you have any problems, have a look at our page of [Frequent Problems and Questions](https://github.com/sharelatex/sharelatex/wiki/FAQ).**
2015-02-11 16:26:06 +00:00
Upgrading
---------
If you are upgrading from a previous version of ShareLaTeX, please see the [Release Notes section on the Wiki] (https://github.com/sharelatex/sharelatex/wiki/Home) for all of the versions between your current version and the version you are upgrading to.
2014-02-08 19:40:56 +00:00
Dependencies
2014-02-12 11:24:13 +00:00
------------
2014-02-19 15:37:47 +00:00
ShareLaTeX should run on OS X and Linux. You need:
2014-02-08 19:40:56 +00:00
2014-02-25 11:27:27 +00:00
* [Node.js](http://nodejs.org/) 0.10 or greater. We recommend that you use [nvm](https://github.com/creationix/nvm) to install it.
2014-02-19 15:37:47 +00:00
* The [grunt](http://gruntjs.com/) command line tools (Run `npm install -g grunt-cli` to install them)
2014-04-09 09:56:00 +00:00
* A local instance of [Redis](http://redis.io/topics/quickstart) (version 2.6.12 or later) and [MongoDB](http://docs.mongodb.org/manual/installation/) running on their standard ports.
* [TeXLive](https://www.tug.org/texlive/) 2013 or later with the `latexmk` program installed.
2014-02-08 19:40:56 +00:00
2015-01-15 12:30:42 +00:00
ShareLaTeX needs a minimum of 2gb of memory, it is likely to be more than that though depending on usage.
2014-02-08 19:40:56 +00:00
Other repositories
2014-02-12 11:24:13 +00:00
------------------
2014-02-08 19:40:56 +00:00
2014-08-18 10:10:01 +00:00
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`
2014-02-08 19:40:56 +00:00
The different services are:
2014-02-24 14:44:35 +00:00
### [web](https://github.com/sharelatex/web-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/web-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/web-sharelatex)
2014-02-08 19:40:56 +00:00
2014-02-21 14:00:12 +00:00
The front facing web server that serves all the HTML pages, CSS and JavaScript
2014-02-08 19:40:56 +00:00
to the client. Also contains a lot of logic around creating and editing
projects, and account management.
2014-02-24 14:44:35 +00:00
### [document-updater](https://github.com/sharelatex/document-updater-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/document-updater-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/document-updater-sharelatex)
2014-02-08 19:40:56 +00:00
2014-02-18 16:28:24 +00:00
Processes updates that come in from the editor when users modify documents. Ensures that
2014-02-08 19:40:56 +00:00
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.
2014-02-24 14:44:35 +00:00
### [CLSI](https://github.com/sharelatex/clsi-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/clsi-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/clsi-sharelatex)
2014-02-13 13:07:03 +00:00
The Common LaTeX Service Interface (CLSI) which provides an API for compiling LaTeX
documents.
2014-08-15 10:16:38 +00:00
### [docstore](https://github.com/sharelatex/docstore-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/docstore-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/docstore-sharelatex)
An API for performing CRUD (Create, Read, Update and Delete) operations on text files
stored in ShareLaTeX.
2014-02-24 14:44:35 +00:00
### [filestore](https://github.com/sharelatex/filestore-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/filestore-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/filestore-sharelatex)
2014-02-18 16:28:24 +00:00
2014-02-21 14:00:12 +00:00
An API for performing CRUD (Create, Read, Update and Delete) operations on binary files
2014-02-18 16:28:24 +00:00
(like images) stored in ShareLaTeX.
### [track-changes](https://github.com/sharelatex/track-changes-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/track-changes-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/track-changes-sharelatex)
An API for compressing and storing the updates applied to a document, and then rendering a diff of the changes
2014-08-15 10:15:05 +00:00
between any two time points.
### [chat](https://github.com/sharelatex/chat-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/chat-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/chat-sharelatex)
The backend API for storing and fetching chat messages.
2014-08-15 11:02:22 +00:00
### [tags](https://github.com/sharelatex/tags-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/tags-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/tags-sharelatex)
The backend API for managing project tags (folders).
2014-08-15 11:39:55 +00:00
### [spelling](https://github.com/sharelatex/spelling-sharelatex)
An API for running server-side spelling checking on ShareLaTeX documents.
2014-12-04 10:11:29 +00:00
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!
2014-08-15 11:02:22 +00:00
2014-02-13 13:07:03 +00:00
Contributing
------------
2014-02-23 21:37:07 +00:00
Please see the [CONTRIBUTING](https://github.com/sharelatex/sharelatex/blob/master/CONTRIBUTING.md) file for information on contributing to the development of ShareLaTeX. See [our wiki](https://github.com/sharelatex/sharelatex/wiki/Developer-Guidelines) for information on setting up a development environment and how to recompile and run ShareLaTeX after modifications.
2014-02-08 19:40:56 +00:00
Authors
---
2014-02-18 16:28:24 +00:00
- [Henry Oswald](http://twitter.com/henryoswald)
- [James Allen](http://twitter.com/thejpallen)
2014-02-20 16:37:34 +00:00
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.