Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 835 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 835 Bytes

Auto latex generator for counters

Usage in docker:

  1. Run in terminal:
docker run --rm -it -p 5000:5000 matbur/counter
  1. Visit site: 0.0.0.0:5000 in your browser.
  2. Enjoy :)

Usage local:

  1. Test if you have necessary packages:

    $ which pdflatex
    $ which convert

    If you don't have it, install it. The program convert is part of the imagemagick package, thus to install both packages i.e. on Debian you will have to run command apt install imagemagick pdflatex as root.

  2. Create virtualenv and install python packages:

    $ virtualenv -p python3.5 counter-env3
    $ . counter-env3/bin/activate
    $ pip install -r requirements.txt
  3. Run server:

    $ cd web
    $ python server.py &
  4. Visit site: 0.0.0.0:5000 in your browser.

  5. Enjoy :)