Posts

Showing posts from September, 2019

Dockerizing a Node.js web app

The goal of this example is to show you how to get a Node.js application into a Docker container. The guide is intended for development, and  not  for a production deployment. The guide also assumes you have a working  Docker installation  and a basic understanding of how a Node.js application is structured. In the first part of this guide we will create a simple web application in Node.js, then we will build a Docker image for that application, and lastly we will instantiate a container from that image. Docker allows you to package an application with its environment and all of its dependencies into a "box", called a container. Usually, a container consists of an application running in a stripped-to-basics version of a Linux operating system. An image is the blueprint for a container, a container is a running instance of an image. Create the Node.js app First, create a new directory where all the files would live. In this directory create a  package.json  file that

Jet setup

Image
Running Oracle JET in Oracle Cloud Free Tier OOW'19 stands up from recent years OOW conferences with important announcement - Oracle Cloud Free Tier offering. This offering includes two free DB instances and two free compute VM instances. What else you could wish for the side and hobby projects? This is a strong move by Oracle and it should boost Oracle Cloud. Read more about it in  Oracle Cloud Free Tier  page. It was interesting to test how to deploy Oracle JET app to Oracle Always Free instance of compute VM. I will not go through the initial steps, related how to create VM instance and enable internet access (for the port 80). You can read all that in a nice write up from  Dimitri Gielis  post. Assuming you already have created Oracle JET app and want to deploy it. One way would be to set up Node.js and Nginx on the compute VM and pull app source code from Git. I prefer another way - to go through Docker container, Nginx would act as HTTP server to redirect requests

Oracle cloud for free setup

Image
Best and Cheapest Oracle APEX hosting: Free Oracle Cloud I really have to write about the  Oracle Cloud Free Tier  as it's the third time in my career I've been blown away by Oracle. The first time was when I first saw and worked with the  Oracle Database , the second time when I saw HTMLDB (now  APEX ) and today, again, with the announcement of the  Free Autonomous Oracle Cloud . The Free Oracle Tier is a hardcore smackdown on any other cloud offering which includes a virtual machine, database and development environment! The Free Oracle Cloud was announced by Andy Mendelsohn at Oracle Open World 2019. You get a free Oracle Autonomous Database, 2 Virtual Machines (Compute), Storage and other services: There's nothing like this Oracle offering on the market. The best database in the world, running on amazing hardware and all of this for free. This is not just for APEX Developers, this is for anybody who wants a datastore or virtual machine in th