Welcome to the setup guide for TheBook.co.il project. This guide will help you get your development environment ready in a few simple steps.
- A system capable of running Python (Windows, macOS, Linux).
- Git for version control.
- Visit the official Python website.
- Download and install Python 3.11.4.
- To verify the installation, open a terminal or command prompt and run:
python3 --version
You should see Python 3.11.4
.
Clone the project from GitHub:
git clone https://github.com/RuslanKovalyov/TheBook.git
and navigate to the project directory:
cd TheBook
Using the venv
module, set up a virtual environment:
python3.11 -m venv venv
This command creates a new virtual environment named venv
.
- On macOS and Linux:
source venv/bin/activate
Install the necessary packages:
pip install --upgrade pip
pip install -r requirements.txt
This command will install Django 4.2.4 and any other dependencies.
You're all set! Start your development, run migrations, or launch the Django development server.
When you're done with your development tasks, you can deactivate the virtual environment:
deactivate