This quickstart walks you through getting the Orange County Lettings application running on your local machine. By the end, you will have a fully working Django development server serving the site atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/OpenClassrooms-Student-Center/Python-OC-Lettings-FR/llms.txt
Use this file to discover all available pages before exploring further.
http://localhost:8000.
Orange County Lettings requires Python 3.6 or higher. Check your version with
python --version before proceeding.Clone the repository
Clone the project from GitHub into a directory of your choice:Then navigate into the project directory:
Create a virtual environment
Create an isolated Python environment so that project dependencies do not affect your system installation.Once activated, your terminal prompt will be prefixed with
- macOS / Linux
- Windows (PowerShell)
(venv).Install dependencies
Install all required packages using pip:This installs the following packages:
| Package | Version |
|---|---|
django | 3.0 |
flake8 | 3.7.0 |
pytest-django | 3.9.0 |
Start the development server
Run Django’s built-in development server:You will see output confirming the server is listening:
Open the site in your browser
Navigate to http://localhost:8000 in your browser. You should see the Orange County Lettings home page with links to the lettings listings and user profiles.
Explore the app
Lettings
Browse available holiday home listings, each with a full address and property details.
Profiles
View registered user profiles and their favorite city preferences.