Welcome to the Django Bootcamp! This README will guide you through the steps to clone the repository and set up your development environment
Before you begin, ensure you have the following installed on your machine:
- Git: Make sure Git is installed. You can download it from git-scm.com.
- Python: You need Python 3.x installed. You can download it from python.org.
- pip: This is usually included with Python installations. It is used to install Python packages.
-
Open your terminal (or command prompt).
-
Navigate to your desired directory (like your desktop):
- Windows:
cd C:\Users\Lenovo\OneDrive\Bureau
- Mac/Linux:
cd /Desktop
- Windows:
-
Clone the repository
git clone https://github.com/HaddoucheMilissa/Django_bootcamp.git
-
**Navigate into the cloned project folder:
cd Django_Bootcamp
- Create a Virtual Environment:
python -m venv name_your_Env
-
Activate the Virtual Environment:
- Windows:
name_your_Env\Scripts\activate
- Mac/Linux:
source name_your_Env/bin/activate
After activating the virtual environment, you can install Django by running the following command:
pip install django
django-admin --version
django-admin startproject Name_your_project
cd Name_your_project
python manage.py runserver