mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove dollars from readme bash code.
This commit is contained in:
parent
f1879a1694
commit
4884254fc6
1 changed files with 23 additions and 13 deletions
|
@ -15,13 +15,17 @@ them quickly.
|
||||||
|
|
||||||
First, check out a local copy of this repository:
|
First, check out a local copy of this repository:
|
||||||
|
|
||||||
$ git clone https://github.com/sharelatex/sharelatex.git
|
```bash
|
||||||
$ cd sharelatex
|
git clone https://github.com/sharelatex/sharelatex.git
|
||||||
|
cd sharelatex
|
||||||
|
```
|
||||||
|
|
||||||
Next install all the node modules and ShareLaTeX services:
|
Next install all the node modules and ShareLaTeX services:
|
||||||
|
|
||||||
$ npm install
|
```bash
|
||||||
$ grunt install
|
npm install
|
||||||
|
grunt install
|
||||||
|
```
|
||||||
|
|
||||||
This will create a config file in `config/settings.development.coffee`. You should open
|
This will create a config file in `config/settings.development.coffee`. You should open
|
||||||
this now and configure your AWS S3 credentials, and other custom settings.
|
this now and configure your AWS S3 credentials, and other custom settings.
|
||||||
|
@ -29,11 +33,15 @@ this now and configure your AWS S3 credentials, and other custom settings.
|
||||||
Now check that your system is set up correctly to run ShareLaTeX (checks that you have
|
Now check that your system is set up correctly to run ShareLaTeX (checks that you have
|
||||||
the required dependencies installed.) Watch out for any failures.
|
the required dependencies installed.) Watch out for any failures.
|
||||||
|
|
||||||
$ grunt check --force
|
```bash
|
||||||
|
grunt check --force
|
||||||
|
```
|
||||||
|
|
||||||
When that has finished, run ShareLaTeX with
|
When that has finished, run ShareLaTeX with
|
||||||
|
|
||||||
$ grunt run
|
```bash
|
||||||
|
grunt run
|
||||||
|
```
|
||||||
|
|
||||||
ShareLaTeX should now be running at http://localhost:3000.
|
ShareLaTeX should now be running at http://localhost:3000.
|
||||||
|
|
||||||
|
@ -47,12 +55,12 @@ ShareLaTeX should run on OS X and Linux. You need:
|
||||||
* A local instance of [Redis](http://redis.io/) (version 2.6 or later) and [MongoDB](http://www.mongodb.org/) running on their standard ports.
|
* A local instance of [Redis](http://redis.io/) (version 2.6 or later) and [MongoDB](http://www.mongodb.org/) running on their standard ports.
|
||||||
* An up to date version of [TeXLive](https://www.tug.org/texlive/), with the `latexmk` program installed. You need latexmk from TeXLive 2013 (or the later). If you're on an older version, or aren't sure, then the following commands will install the latest version locally:
|
* An up to date version of [TeXLive](https://www.tug.org/texlive/), with the `latexmk` program installed. You need latexmk from TeXLive 2013 (or the later). If you're on an older version, or aren't sure, then the following commands will install the latest version locally:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mkdir ~/bin
|
mkdir ~/bin
|
||||||
$ curl http://mirror.physik-pool.tu-berlin.de/tex-archive/support/latexmk/latexmk.pl > ~/bin/latexmk
|
curl http://mirror.physik-pool.tu-berlin.de/tex-archive/support/latexmk/latexmk.pl > ~/bin/latexmk
|
||||||
$ chmod a+x ~/bin/latexmk
|
chmod a+x ~/bin/latexmk
|
||||||
$ export PATH=~/bin:$PATH
|
export PATH=~/bin:$PATH
|
||||||
```
|
```
|
||||||
|
|
||||||
Config
|
Config
|
||||||
------
|
------
|
||||||
|
@ -64,7 +72,9 @@ which can be done by editing the file at `config/settings.development.coffee`
|
||||||
A local settings file can be specified by setting the `SHARELATEX_CONFIG` environment variable
|
A local settings file can be specified by setting the `SHARELATEX_CONFIG` environment variable
|
||||||
to point to your own settings file. E.g.
|
to point to your own settings file. E.g.
|
||||||
|
|
||||||
$ export SHARELATEX_CONFIG=/home/james/config/settings.development.coffee
|
```bash
|
||||||
|
export SHARELATEX_CONFIG=/home/james/config/settings.development.coffee
|
||||||
|
```
|
||||||
|
|
||||||
Other repositories
|
Other repositories
|
||||||
------------------
|
------------------
|
||||||
|
|
Loading…
Reference in a new issue