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
- Vagrant >=1.7
- VirtualBox >=4.0
- Ansible >=1.8
vagrant up
that's all!
There are several configuration parameters available to edit in development.yml such as project root, node and redis versions, sharelatex repo url etc.
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.
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!)
VirtualBox!Solve with plugin:
vagrant plugin install vagrant-vbguest```