Posts

How To Setup Django Project

Image
How To Setup Django Project Overview Today we will learn how to setup Django project on machine. At the end of this article you will get successful running Django app. Prerequisites: You should have some Python experience and know basic Unix bash commands. If you’ve never used the command line before, please familiarize yourself with the following commands: pwd, cd, rm, and mkdir etc. Steps to create django project: Install python ( Click Here to get pyhton download link) Install virtual wrapper using pip command pip install virtualenvwrapper-win Output of above command is as follows: Create virtual environment to separate current project from other project libraries. It’s common practice to use a virtualenv (virtual environment) for your Python projects in order to create self-contained development environments (also called “sandboxes”). The goal of virtualenv is to prevent different versions of libraries/packages from messing with each other. mkvirtualenv test Ou...

Dockerize an ASP.NET Core Application

Image
Dockerize ASP.NET Core Application Overview In this article we are trying to run an Asp.Net Core Web application on containers using docker. We have an example to demonstrate how to dockerize an ASP.NET Core application in this post. What is ASP.NET Core? ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications. With ASP.NET Core, you can: Build web apps and services, IoT apps, and mobile backends. Use your favorite development tools on Windows, macOS, and Linux. Deploy to the cloud or on-premises. Run on .NET Core or .NET Framework . What is docker? Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. Prerequisites We need an ASP.NET Core and Docker a...