Posts

Showing posts from April, 2019

My Experience of undergoing Bi Jaw Surgery

Image
Hello Everyone, I am Sumit Ghewade (SuperSumoz), from India-> Maharashtra->Pune. I m writing this blog hoping to help some of the few people who have similar condition like me or those who might soon be going under a Bi Jaw surgery. So to begin with, Bi jaw surgery or in the medical terms Orthognathic surgery is required when there's a discrepancy between the alignment of  the upper and lower jaw. Upper and Lower Jaw discrepancy is also know as Maxillary prognathism and Mandibular prognathism respectively. The following picture will give you a better perspective of it. As you can see clearly that in Maxillary prognathism the upper jaw alignment is a bit front of the lower jaw and whereas in the case of Mandibular prognathism the lower jaw is shifted in the front of upper jaw. In both the cases subject might face problem such as not able to chew properly, pronunciation may differ, and aesthetic looks may also be disturbed. Jaw surgery is performed to overcome al...

Deploy Flask Restful Api Nginx Docker image on Docker | Pull the Docker image | Execute the Docker image

Image
Following are steps to Deploy the Flask Restful API on Docker: Once you have connected to EC2 instance using PuTTY then follow these instructions. 1) Install Docker [ec2-user@ip-172-31-20-251 ~]$ sudo yum install -y docker 2) Start the services of the Docker [ec2-user@ip-172-31-20-251 ~]$ sudo service docker start [ec2-user@ip-172-31-20-251 ~]$ sudo usermod -a -G docker ec2-user 3) Run the Superuser command to get all the permission to perform other task [ec2-user@ip-172-31-20-251 ~]$ sudo su 4)   Verify that the ec2-user can run Docker commands without sudo. [root@ip-172-31-20-251 ec2-user]#  docker info In some cases, you may need to reboot your instance to provide permissions for the ec2-user to access the Docker daemon. Try rebooting your instance if you see the following error: Cannot connect to the Docker daemon. Is the docker daemon running on this host? Sign up for a Docker Hub Account Docker uses images that are s...

Deploy Flask RESTFUL API on AWS EC2 server using PUTTY

Image
Follow this simple steps to follow to deploy flask RESTFUL API on AWS EC2 server: 1) Create an EC2 instance on AWS: Select the EC2 instance and proceed forward. 2) Select the General Purpose t2.micro Free tier eligible Instance. 3) In next steps you don't have to do much just keep on moving ahead. Next step would be to add storage. 4) Create a new key pair and download it. 5) Hit Launch Instance. Give it few seconds to launch. Then open PUTTYgen from START. 6)  Click Load then browse the key pair, select it and click on Open . 7) Then save the private key to the same Folder location and click Yes   and save the private key . 8) Close PuTTYgen then copy the Public DNS address from the EC2 instance. 9) Open Putty then type e c2-user@    in the Host Name and the Public DNS address to it. 10)  In the Saved Sessions you can add a name to save the session. Just type in the Saved...

Flask Restful Application: Getting started for Beginners

Image
To create Flask Restful application use following steps: Pre-requisites before you start creating Flask Application: 1) Your system must have Python installed or updated Click here to download Python 2)  Before installing the Python Make sure to click " add to path " then hit install : 3) Upgrade the pip, using the below command in the command prompt: python -m pip install --upgrade pip 4) Install Flask using following command: pip install flask Steps to create Flask Application: First of all, we have to create a Project Repository (Folder) where all our files will be stored. In the Project Repository create static folder, this is where you will store the CSS file i.e cascading style sheet file. And create another folder i.e templates which will hold the HTML file of your projects. 1) Create a Project Repository (Folder) to create Flask application. 2) Create a python file flask_app.py : You can use any name you want ...