Skip to main content

Documentation 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.

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 at http://localhost:8000.
Orange County Lettings requires Python 3.6 or higher. Check your version with python --version before proceeding.
1

Clone the repository

Clone the project from GitHub into a directory of your choice:
git clone https://github.com/OpenClassrooms-Student-Center/Python-OC-Lettings-FR.git
Then navigate into the project directory:
cd Python-OC-Lettings-FR
2

Create a virtual environment

Create an isolated Python environment so that project dependencies do not affect your system installation.
python -m venv venv
source venv/bin/activate
Once activated, your terminal prompt will be prefixed with (venv).
3

Install dependencies

Install all required packages using pip:
pip install --requirement requirements.txt
This installs the following packages:
PackageVersion
django3.0
flake83.7.0
pytest-django3.9.0
4

Start the development server

Run Django’s built-in development server:
python manage.py runserver
You will see output confirming the server is listening:
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
5

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.

Build docs developers (and LLMs) love