Skip to content

a Django-based web application that enables users to explore and analyze house prices in Shanghai. Used Django and Docker

License

Notifications You must be signed in to change notification settings

lphlch/House-Price-Visualization-Information-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

House Price Visualization Information Platform

Overview

The House Price Visualization Information Platform is a web application developed using Django and Docker that allows users to visualize and analyze house prices in Shanghai, China.

Prerequisites

Before you can run the House Price Visualization Information Platform, make sure you have the following prerequisites installed on your system:

Getting Started

Follow these steps to set up and run the server:

  1. Clone the repository to your local machine:

    git clone https://github.com/lphlch/DatabaseProjectDesign
    cd house-price-visualization
    
  2. Create a .env file in the project root directory and configure the environment variables.

    Edit the .env file to set your desired environment variables, such as the database settings and secret key.

  3. Navigate to the /CityPrice/ directory:

    cd CityPrice
    
  4. Create a Python virtual environment (optional but recommended):

    python -m venv venv
    
  5. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
      
    • On macOS and Linux:

      source venv/bin/activate
      
  6. Install the required Python packages from the requirements.txt file:

    pip install -r requirements.txt
    
  7. Return to the project root directory:

    cd ..
    
  8. Build and run the Docker containers using docker-compose:

    docker-compose up --build
    

    This command will start the Django web application, a PostgreSQL database, and any other services defined in the docker-compose.yaml file.

  9. Once the containers are up and running, you can access the House Price Visualization Information Platform in your web browser.

Usage

Here are some basic usage instructions for the House Price Visualization Information Platform:

  • Map: After logging in, you will be directed to the map where you can search for house prices in Shanghai and view visualizations and analysis.
  • Tables: Explore different charts to understand what will influence the house price trends in Shanghai.

Maintenance

To stop and remove the Docker containers, use the following command:

docker-compose down

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Contact

For any questions or support, please contact lphlch@outlook.com.

About

a Django-based web application that enables users to explore and analyze house prices in Shanghai. Used Django and Docker

Topics

Resources

License

Stars

Watchers

Forks