How to deploy Deno applications to production

Click for: original source

In this tutorial, you will be creating a simple Deno application to display hello world. Unlike NodeJS, you do not need to run npm init to create a new application. You can simply create a TypeScript file and start coding away. By Michael Okoh.

You will need Docker installed on your server and local machine, an Ubuntu server, you can get one from DigitalOcean, basic understanding of git, basic understanding of the command line interface.

The article covers the following topics:

  • Prerequisites
  • How to create a Docker configuration
  • How to build and run the container
  • How to deploy to production (using push to Github)

All the code is provided together with the commands to run on the remote server instance. Good read for anybody new to Docker, containers and app hosting!

[Read More]

Tags javascript open-source nodejs devops