# Alhazen - Django Project Cheatsheet - Personal Landing Page 1 :::info Make sure you have installed latest Python. And we need some tools like `Git shell` and `Visual Studio Code` ::: Case = Personal Landing Page Create a project called mysite Create an app called mypage Do not forget to use virtualenv to isolate your project ## Install virtualenv package Run this command in terminal ```shell $ pip install virtualenv ``` ## Create Learnig Directory in Documents Go to that directory by running this command ```shell # linux $ cd Documents/personal-web # windows > cd Documents\personal-web ``` ## Create virtual environment Create a virtual environment using this command ```shell $ python -m virtualenv env ``` ## Acrivate virtual environment Activate the virtual environment using this command ```shell # linux $ source env/bin/activate # windows > env\bin\activate # OR > env\Scripts\activate ``` ## Install Django Install django from pip command ```shell $ pip install django ``` ## Create a project Create a project using django-admin command ```shell $ django-admin startproject mysite ``` ## Create an App Create an app using startapp command from manage.py file ```shell $ python3 manage.py startapp home ```