-
Run Node.js application in Docker & deploy it to Microsoft Azure
Utilising cloud services make it easy to deploy Node.js applications online, without the need to setup an own virtual private server (VPS) and install and configure the needed operating system and/or runtimes in it. It's also an important tool for the realisation of web solutions based on micro services. In this article, I'll show how to run a minimal Node.js application inside Docker and deploy it to Microsoft Azure using the Azure Container Registry and Azure App Services. Prerequisite locally...
Read more →
-
Install miniconda on MacOS
One of the most used tools in the data science field (alongside R) is Python with its enormous amount of libraries like NumPy, pandas or SciPy. Alongside these there is also the web frontend Jupyter that makes it easy to create interactive Python notebooks which are locally served on your system. If this is not your cup of tea, there are several existing hosted solutions like Google Colaboratory For compatibility reasons MacOS has only Python 2 installed per default (even...
Read more →
-
Quick tip: Formatting date/time data in Django
There are situations where you obtain JSON data from an external source (e.g. via a REST-API) which contains date and time Information in the ISO 8601 format which looks like this: 2020-10-27T13:47:25.662Z If you now want to output this date/time information in a readable manner in Django you can either manually reformat the strings of this data to the format you prefer using python string operations: "2020-10-27T13:47:25.662Z" => "2020.10.27 13:47:25" This works but there is a more flexible way to...
Read more →
-
Install Node.js in Debian 10
To be able to develop with Node.js or to deploy Node.js application on a server there has to be a Node.js runtime installed on the server. While Node.js is available in the Debian package repository, it's not the most current version. Let's install Node.js in a more current version from an external apt repository. For this we'll use the apt repository from Nodesource which is also recommended by nodejs.org itself. In this case we'll install Node.js in the version 12....
Read more →