Here we are continuing our previous post. In this post we would deploy our flask application with with nginx using gunicorn. Create on wsgi.py file Create a wsgi.py file in your root project directory, which will be used by gunicorn.
Prerequsites: Your Flask project/application ready. Linux Server Docker Docker-composer Flask Application Please prepare your flask application. Your application should be runnable on your local host. Your hello world application you can follow this link. Docker file for flask application Create
Prerequisite: Linux Machine. Am assuming you have successfully install docker and docker-composer. Follow instruction to install docker and for docker-composer. docker-compose.yml file. Create a file called docker-compose.yml in your project directory and paste the following: .env file Create a file called .evn
This is document assuming you have already up your mongo docker container and its working fine on your docker container host machine. Let suppose your docker container host machine ip address is x.x.x.1. You can check your docker container up
Deploy for Flask application follow here Prequisite Django uwsgi nginx Setup your django project https://docs.djangoproject.com/en/2.2/intro/tutorial01 Install uwsgi pip3 install uwsgi Install Nginx (Web Server) Configure uWSGI Check your project working fine with uwsgi. Create .ini configuration file In the same
Clone project with particular branch name. For more detail on git, please follow this link. why-use-git Git main website.
Please follow link before go further. Hello application in Flask with virtual env Prequisite uwsgi nginx Install uwsgi Install Nginx (Web Server) Configure uWSGI In the root directory of project, similar to that we created in previous post. Create a
Prequisite: Pip3 Virtualenv Install pip first. For python 2.7 For python 3 Install virtual environment Now create a virtual environment You can also use a Python interpreter of your choice Activate your virtual enviornment Or To deactivate virtual enviorment Let’s
Introduction The micro-services architecture pattern is getting a lot of attention these days and it’s trending. If it is hard to believe, then just check what Google Trends says. As its name its a micro applications or services those run
Amazon Web Services (AWS) is a comprehensive cloud computing platform, provided by Amazon. It provides abroad set of infrastructure as a service (IaaS), platform as a service (PaaS) and packaged software as a service (SaaS) offerings. For further detail on AWS,