From 978010bceba223b102b0e4d16422f750e4894a57 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Sun, 10 Jun 2018 13:38:06 +0300 Subject: [PATCH] Update readme for 2.0 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index ccf0ed42..32bbf3ca 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,20 @@ For full usage, run `docker run arxivvanity/engrafo engrafo --help`. ## Development environment +### CSS development environment + +To convert LaTeX documents, you need to build a huge development environment, with several gigabytes of LaTeX junk. If you're just developing CSS, we've got a few sample conversions that you can develop with. + +First, install [Node](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/en/docs/install#mac-stable). Then, install the Node dependencies: + + $ yarn + +The sample documents are `samples/*/index.html` You can use Parcel to serve these documents and compile the frontend code. For example: + + $ yarn run parcel serve samples/1707.08952/index.html + +### Setting up a full development environment + First, install [Node](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/en/docs/install#mac-stable). Then, install the Node dependencies: $ yarn