Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.3 KB

Readme.md

File metadata and controls

40 lines (27 loc) · 1.3 KB

About

VM configuration for ShareLaTeX development

Installs:

  • Required system packages
  • MongoDB (from packages)
  • Redis (from source)
  • NodeJS (+ npm, grunt) (from source)
  • TexLive
  • git clone ShareLaTeX master

Requirements

  • Vagrant >=1.7
  • VirtualBox >=4.0
  • Ansible >=1.8

Setup

  • vagrant up that's all!

Options

There are several configuration parameters available to edit in development.yml such as project root, node and redis versions, sharelatex repo url etc.

Provision

If you want to re-provision your VM you should run vagrant provision. It is possible to provide tags (or skip_tags) using TAGS (SKIP_TAGS) environment vars.

Run

Login into VM (vagrant ssh). Navigate to project root (default - '/webapps/sharelatex'). Run grunt run and open browser on http://localhost:3002/ (Note: port is not 3000 but 3002 by default!)

Possible issues

VirtualBox!Solve with plugin:vagrant plugin install vagrant-vbguest```