<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muharrem KURUOĞLU on Medium]]></title>
        <description><![CDATA[Stories by Muharrem KURUOĞLU on Medium]]></description>
        <link>https://medium.com/@marntext?source=rss-22302573b728------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*164vVVAe6dnVkyRVYr63aQ.jpeg</url>
            <title>Stories by Muharrem KURUOĞLU on Medium</title>
            <link>https://medium.com/@marntext?source=rss-22302573b728------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 03:30:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marntext/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Installation of Django & Creating a Project]]></title>
            <link>https://marntext.medium.com/installation-of-django-creating-a-project-cafeac454e58?source=rss-22302573b728------2</link>
            <guid isPermaLink="false">https://medium.com/p/cafeac454e58</guid>
            <dc:creator><![CDATA[Muharrem KURUOĞLU]]></dc:creator>
            <pubDate>Sun, 03 Jan 2021 18:51:37 GMT</pubDate>
            <atom:updated>2021-01-07T04:08:25.253Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*njMbsnt_ARXAj2tCcey2mA.png" /></figure><p>Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. It is a free and open-source framework that was named after Django Reinhardt who was a jazz guitarist from the 1930s. Django is maintained by a non-profit organization called the Django Software Foundation. The main goal of Django is to enable Web Development quickly and with ease.</p><p>Today we are going to install django into a virtual environment step by step.</p><p>To install django, Python is needed to be existed on your system. If Python isn’t installed in your system, it is necessary to download the package which is approperate for your operating system from <a href="https://www.python.org/downloads/">the official website</a>.</p><p>While installing Python, click the ‘Add Phyton … to PATH’ checkbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*TXB57j8SllYc8nCjPsWSxg.jpeg" /></figure><p>I’m going to use Visual Studio Code editor and my default terminal is going to be cmd.</p><p>First of all, check the versions of python and pip with the help of following commands.</p><pre>python -–version</pre><pre>pip --version</pre><p>Create a folder in which django will be installed with the help of following command.</p><pre>mkdir django_prj</pre><p>Change the directory to the project folder with the help of following command.</p><pre>cd django_prj</pre><p>Install virtual environment with the help of following command. You can choose any environment name. The name of my environment is going to be “myenv”.</p><pre>py -m venv myenv</pre><p>Activate environment with following command.</p><pre>.\myenv\Scripts\activate</pre><p>After activating environment, the environment name will be seen on the left side of the code line in parentheses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/293/1*yzt8w62gbQdXsnQtNpVg7w.jpeg" /></figure><p>Install django with following command.</p><pre>pip install django</pre><p>Control which packages you installed with following command.</p><pre>pip freeze</pre><p>Create a text file which is name requirenment and write the name of the packages which you installed in to the requirements.txt file with following command. Anyone who wants to use this project will need this file to see packages and versions needed.</p><pre>pip freeze &gt; .\requirements.txt</pre><p>Start a project with following command. The name of my project is “alpha”, you can choose any name you want.</p><pre>django-admin startproject alpha</pre><p>Change the directory to the project folder where the manage.py file exists with following command.</p><pre>cd alpha</pre><p>Start the server with following command.</p><pre>python manage.py runserver</pre><p>To check whether server is running or not, go to web browser and enter <a href="http://127.0.0.1:8000/">http://127.0.0.1:8000/</a> as url. You need to see a site that looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UsnVADF9OgzwwxFDKc86kw.jpeg" /></figure><p>Mission completed. Have a nice day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cafeac454e58" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>