Coder Social home page Coder Social logo

latex-letter's Introduction

Latex letters

Generating beautiful PDF letters with LaTeX and Node.

Clone repo

clone https://github.com/vnglst/latex-letter.git
cd latex-letter

Build Docker image

Building the Docker images from the Dockerfile might take a while (downloading the images it's based on and verifying those). After the first built is goes faster.

docker build -t vnglst/latex-letter .

Find the Docker image id by typing:

docker images

Start developing

Start the Docker container and forward port 8080 to 8080 on your localhost.

docker run  -v $(pwd) -p 8080:8080 -d <put the image id here>

Open the web app on http://localhost:8080. You can now make changes to the source code and the application automatically restarts on changes.

Push the image to Docker

docker push vnglst/latex-letter

It's also possible to add your Github repo to Docker Hub and let them do the building for you. That way you don't have to upload the rather large Docker image (of almost 6 Gig).

Deploy on a server

Create a server, for instance a 512 Mb Droplet on Digital Ocean. If you use the CoreOS droplet you get an optimized Docker server without any doing any extra work.

docker pull vnglst/latex-letter
docker run -p 8080:8080 -d <put the image id here>

You're own LaTeX letter app is now deployed. You can find it on port 8080 on your IP address. For instance: 188.166.141.4:8080

That's all! Feel free to contact me if you have any questions!

latex-letter's People

Contributors

vnglst avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.