Skip to main content

Posts

Showing posts from November, 2018

Hosting your Django app in Cloud Based Server

Let’s say that you have a solid business plan and you decide to go with Python and Django framework to take this project from concept to reality. One of the most fundamental things to do at this stage is to find a Django-friendly hosting service. Since Django framework has a special syntax and structure, it’s important to make sure that a chosen provider makes it possible to easily deploy and scale any Django project. There are many Django-compatible hosting providers which are worth considering. This post documents my experience deploying a basic Python based web app in " PythonAnywhere". PythonAnywhere runs on powerful Amazon EC2 servers and it is pre-configured with tons of libraries. Steps: Create a free user account in GitHub.com (If you haven't done it yet!)           Then, create a new repository, giving it the name. My test project was named " DjangoTest ". Set up our Django Test App on PythonAnywhere Sign up for a Pytho

Installing g++ compiler on Windows

Download MinGW - Minimalist GNU for Windows from below link –                 https://sourceforge.net/ projects/mingw/ Now run the installer as admin. It will download some files and then open the MinGW download manager Select MinGW base and MinGW G++ (for c++ compilation) check boxes Go to File -> Apply Changes. The selected options will be installed. Add the below path to System Path in environment variable                 “C:\MinGW\bin” Now you can try to verify in g++ is installed properly by running the below command in Command Promt –                  g++ --version