mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Update installation details
This commit is contained in:
parent
a6e998da7c
commit
b9a7cb6c30
2 changed files with 19 additions and 17 deletions
|
@ -62,18 +62,16 @@ module.exports = (grunt) ->
|
||||||
grunt.registerTask "update:#{service.name}", "Checkout and update the #{service.name} service", () ->
|
grunt.registerTask "update:#{service.name}", "Checkout and update the #{service.name} service", () ->
|
||||||
done = @async()
|
done = @async()
|
||||||
Helpers.updateService(service.name, done)
|
Helpers.updateService(service.name, done)
|
||||||
|
grunt.registerTask 'run:#{service.name}', "Run the ShareLaTeX #{service.name} service", ["bunyan", "execute:web"]
|
||||||
|
|
||||||
grunt.registerTask 'install:all', "Download and set up all ShareLaTeX services", ("install:#{service.name}" for service in SERVICES)
|
grunt.registerTask 'install:all', "Download and set up all ShareLaTeX services", ("install:#{service.name}" for service in SERVICES)
|
||||||
|
grunt.registerTask 'install', 'install:all'
|
||||||
grunt.registerTask 'update:all', "Checkout and update all ShareLaTeX services", ("update:#{service.name}" for service in SERVICES)
|
grunt.registerTask 'update:all', "Checkout and update all ShareLaTeX services", ("update:#{service.name}" for service in SERVICES)
|
||||||
|
grunt.registerTask 'update', 'update:all'
|
||||||
grunt.registerTask 'help', 'Display this help list', 'availabletasks'
|
|
||||||
|
|
||||||
grunt.registerTask 'run:web', "Run web-sharelatex, the ShareLaTeX web server", ["bunyan", "execute:web"]
|
|
||||||
grunt.registerTask 'run:document-updater', "Run document-updater-sharelatex, the real-time document server", ["bunyan", "execute:document-updater"]
|
|
||||||
|
|
||||||
grunt.registerTask 'run', "Run all of the sharelatex processes", ['concurrent:all']
|
grunt.registerTask 'run', "Run all of the sharelatex processes", ['concurrent:all']
|
||||||
grunt.registerTask 'run:all', 'run'
|
grunt.registerTask 'run:all', 'run'
|
||||||
|
|
||||||
|
grunt.registerTask 'help', 'Display this help list', 'availabletasks'
|
||||||
grunt.registerTask 'default', 'run'
|
grunt.registerTask 'default', 'run'
|
||||||
|
|
||||||
Helpers =
|
Helpers =
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
ShareLaTeX
|
||||||
|
==========
|
||||||
|
|
||||||
ShareLaTeX is a web based collaborative LaTeX editor. There are two versions of it,
|
ShareLaTeX is a web based collaborative LaTeX editor. There are two versions of it,
|
||||||
the online version that anyone can sign up to at www.sharelatex.com, and this open source
|
the online version that anyone can sign up to at www.sharelatex.com, and this open source
|
||||||
version which allows anyone to run a local installation of ShareLaTeX.
|
version which allows anyone to run a local installation of ShareLaTeX.
|
||||||
|
@ -6,19 +9,18 @@ This repository pulls together all of the different services in ShareLaTeX's ser
|
||||||
orientied architecture (SOA).
|
orientied architecture (SOA).
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
------------
|
||||||
|
|
||||||
First, check out a local copy of this repository:
|
First, check out a local copy of this repository:
|
||||||
|
|
||||||
$ git clone git@github.com:sharelatex/sharelatex.git
|
$ git clone git@github.com:sharelatex/sharelatex.git
|
||||||
$ cd sharelatex
|
$ cd sharelatex
|
||||||
|
|
||||||
Next run `npm install` to download all of the dependencies and services
|
Next install all the Node modules and ShareLaTeX services:
|
||||||
(you need Node.js installed, version 0.10.0 or later):
|
|
||||||
|
|
||||||
$ npm install
|
$ npm install
|
||||||
|
$ grunt install
|
||||||
|
|
||||||
This can take a while, so now would be a good time for a cup of tea.
|
|
||||||
When that has finished, run ShareLaTeX with
|
When that has finished, run ShareLaTeX with
|
||||||
|
|
||||||
$ grunt run
|
$ grunt run
|
||||||
|
@ -26,12 +28,16 @@ When that has finished, run ShareLaTeX with
|
||||||
ShareLaTeX should now be running at http://localhost:3000.
|
ShareLaTeX should now be running at http://localhost:3000.
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
============
|
------------
|
||||||
|
|
||||||
You need a local instance of Redis and Mongodb running on their standard ports.
|
You need:
|
||||||
|
|
||||||
|
* Node.js 0.10 or greater
|
||||||
|
* Grunt command line tools (Run `npm install -g grunt-cli` to install them)
|
||||||
|
* A local instance of Redis and Mongodb running on their standard ports.
|
||||||
|
|
||||||
Other repositories
|
Other repositories
|
||||||
==================
|
------------------
|
||||||
|
|
||||||
ShareLaTeX consists of many separate services, each with their own Node.js process
|
ShareLaTeX consists of many separate services, each with their own Node.js process
|
||||||
and source code repository. These are all downloaded when you run `npm install` and
|
and source code repository. These are all downloaded when you run `npm install` and
|
||||||
|
@ -39,15 +45,13 @@ they are run when you run `grunt run`.
|
||||||
|
|
||||||
The different services are:
|
The different services are:
|
||||||
|
|
||||||
web-sharelatex
|
### web-sharelatex
|
||||||
--------------
|
|
||||||
|
|
||||||
The front facing web server that serves all the HTML pages, CSS and javascript
|
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
|
to the client. Also contains a lot of logic around creating and editing
|
||||||
projects, and account management.
|
projects, and account management.
|
||||||
|
|
||||||
document-updater-sharelatex
|
### document-updater-sharelatex
|
||||||
---------------------------
|
|
||||||
|
|
||||||
Process updates that come in from the editor when users modify documents. Ensures that
|
Process 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 updates are applied in the right order, and that only one operation is modifying
|
||||||
|
|
Loading…
Reference in a new issue