Continuous Build of Docker Containers using Docker hub

In the previous article, I mentioned how we can Dockerise a progressive framework based application (Vue).  I have made few improvements to the application where I am now able to perform CRUD operations on the client side using AXIOS, based on API’s available from the server side. I wanted to test these incremental features added to the application and imagine executing those docker commands everytime you make a new component/feature available. This is quite a task. So I was looking at ways to automate the task where every time I commit/push the code to GitHub the build happens automatically so that the latest container is ready for deployment. This is where Docker Hub comes to our rescue.  Here are the steps for the automated build process:

  1. Register for an account on Docker Hub
  2. Link your Github repo with the Docker Hub under Account SettingsCapture12
  3.  Click on “Create Automated Build “and point to the GitHub Repo that has got the Docker File (Refer the previous article on how to create this Docker File). Capture13Capture14Capture15
  4.  Make some changes to your code, do a git commit and Push the change to your GitHub Repo.Capture16
  5.  You can see the automated build in progress as soon as the changes are committed to the repo.  Capture17
  6. And within few minutes you can see the build is served.

Capture18

As mentioned in the previous article you can go to your OCCS (Oracle Container Cloud Service) and pick up the latest build and deploy this latest Docker container available.

In the next article, I will discuss how we can automate the last part as well, where you don’t need to manually build the latest Docker Container available from Docker Hub in OCCS.

Dockerising a Vue.js based SPA, ship and run on Oracle Container Cloud Service

In this post, I am going to show how to build and containerize a Vue.js application and let it run on Container Cloud Service (OCCS) using the following steps:

  • Build a Vue.js Web App
  • Build Docker image based on the above Vue.js SPA
  • Push it on Docker-Hub
  • Create a Service in Oracle Container Cloud Service (OCCS)
  • Deploy Service (the vue.js app)

Continue reading “Dockerising a Vue.js based SPA, ship and run on Oracle Container Cloud Service”

How to build a Digital Information Management Process Application using the Oracle Cloud Platform.

Most organisations have to the deal with several kinds of digital artefacts that need publishing on various channels like Web, Mobile, TV, Social, Kiosks, Print, etc. And it is no brainer that organisations need a “Digital Artifacts”   repository that can help them to store these digital assets in a centralised repository. Also, it helps them to distribute very quickly on those channels as mentioned earlier to maintain brand consistency and ensure the rights asset displays on the right channel at the right time. However, most often the digital artefacts are produced in partnership with several teams internally and externally (Primarily design agencies). So the Digital Artifact repository is not only a storage container, but also needs to behave like a collaboration platform to engage with all the stakeholders internal and external to the same platform in real-time. To make it bit more complicated imagine the teams producing the digital assets (aka contributors) need to get all the necessary approvals before the artefacts are published or even consumed by different individuals. Given the nature of the organisations, business approvals can come in various shapes. For example, a Digital Artifact that needs to go out on TV for advertising needs a Product Team, a Branding Team, and Legal Team. The product team is responsible for the design of the digital artefact. The branding team ensures the assets produced are consistent with organisations marketing themes. The legal team task is to ensure the teams have done their due diligence and advise the product teams of the Risk level associated with the activities. So a single digital artefact has got its life-cycle, and there are various touch points before it lands on different social or mobile channels. Your Digital Artifact repository that needs to behave like a collaboration platform should also ensure it provides the capability for digital lifecycle management and manages approvals.  Fortunately, the Oracle Content and Experience, and Process Cloud platform addresses the exact above needs in a simple, configurable manner. I don’t need to mention the beauty of having such a platform in the cloud as it allows us to just focus on the problem we have at hand than worrying about installation, what kind O/S server/containers, technology skills, scalability, upgrades, etc.  You can read more about Content & Experience and Process Cloud platform that fulfils the requirements for Digital Artifact repository, collaboration, and workflow automation. Now that we have the context let’s focus on one of the problems at hand, how do we make the Digital Artifact go through an approval process using these platforms?

Continue reading “How to build a Digital Information Management Process Application using the Oracle Cloud Platform.”