Help:LanguageTool/Vagrant

Attempt on a common Vagrant instance.

Initial setup of Mediawiki-Vagrant
The usual setup is as described on MediaWiki-Vagrant, and yes you need Git

Git update
At this point you should do a  in the host directory, otherwise you will probably run into problems later. Then do a  to make sure everything works.

At this point you should clean up the client for outdated apt pakages. Do a

Note that this still leaves the box running old software, and you should do a  from time to time.

Roles for the host
Use the following additional roles

VisualEditor
This is the new visual editor, which would be the primary accesspoint for LanguageTool.

Java in the guest
Not clear if the version should be 7 or 8. Only thing I got to pass was Java 8 from Oracle.

Maven would now install as 3.0.5, which is to old for some packages as they need 3.3+. Latest as of this writing is 3.5.0

Check versions, they should all report 1.8 -ish and 3.5 -ish

Additional tweaks for maven is to set the environment variable MAVEN_OPTS in

It could also be necessary to add maven to the PATH

Clone LanguageTool
Create the dir for the LanguageTool and clone the repo (Please avoid hammering the public API. )

For the official repo use

For the forked repo use

Now do a first test run (before this you should probably set more memory for the guest, like 3072MB)

Add the classpath to  (could also be the common  )

Now source the  (could also be the common  ) and start the server

The server can now be tested by a call