Welcome to the MySite Django-Project. This project integrates three main components: the IrisApp, the Movie Recommendation System, and a welcome deck.
To get started with this project, you'll need to set up a local development environment, clone the repository, and install the required dependencies. Here's a step-by-step guide:
- Set up a Python environment: This project requires Python 3.11.5. If you don't have this version of Python installed, you can download it from the official Python website. Once you have Python installed, it's recommended to create a virtual environment for the project. This can be done using the following commands:
python3 -m venv env
source env/bin/activate
- Clone the repository: You can clone the repository using the following command:
git clone https://github.com/username/mysite.git
Replace username
with your GitHub username and mysite
with the name of your repository.
- Install the dependencies: Navigate to the project directory and install the required dependencies using the following command:
pip install -r requirements.txt
- Run the server locally: You can start the Django server locally using the following command:
python manage.py runserver
Now, you can access the application in your web browser at http://localhost:8000
.
Detailed instructions for setting up the project can be found in the Deployment.md file.
This project consists of three main components:
-
mysite: This is the main Django project that integrates multiple smaller applications. More details about the structure and configuration of this project can be found in the Architecture.md file.
-
IrisApp: This is a simple web application for predicting the species of an Iris flower based on its sepal and petal dimensions.
-
Movie Recommendation System: This is a simple web application for recommending popular books.
To integrate mysite
with irisapp
and book_recommender
, you would need to modify the urls.py
and settings.py
files in the mysite project. Add irisapp
and book_recommender
to the INSTALLED_APPS
list in settings.py
and include the URLs of irisapp
and book_recommender
in the project's URL configuration in urls.py
.
With these changes, when a user visits https://mysite-olvdmbamqa-el.a.run.app//iris
, they will be directed to the irisapp application, and when they visit https://mysite-olvdmbamqa-el.a.run.app/movie
, they will be directed to the book_recommender application.
For more detailed information about the architecture of the project and the deployment process, please refer to the Architecture.md and Deployment.md files, respectively.