I also come up with a research that most kiosks are running on desktop applications which leads me to use Electron. Electron supports cross platform (Mac, Linux, Windows)
Given these skill set I finally come up with a plan on building this app.
In this project, I maintain two separate code base. Frontend is Vue.js and Backend is Ruby on Rails.
From my previous article, I wrote about containerising a Ruby on Rails app. Now for this article my goal is to deploy this in production like AWS ECS Fargate.
ECS stands for Elastic Container Services. Currently there are 3 ways to deploy your image to AWS ECS.
Docker allows you to package up an application or service with all of its dependencies into a standardized unit. This unit is typically labeled as a Docker image.
In essence, Docker allows you to containers on top of a Host OS (Ubuntu, Mac, Windows) without having difficult configuration.
Download and Install Docker from https://www.docker.com/
rails new rails_docker -d postgresql
Currently when we visit localhost:3000, it’s running from our local machine not yet from the docker image.
Create a Dockerfile on the root directory of your project and add the following content.
Note: I’m currently…