This is a personal weather website developed using Django and MySQL, designed to provide users with accurate and up-to-date weather information. The website focuses on India, specifically offering detailed weather forecasts and news updates.
- Current Weather: Displays real-time weather conditions for various locations.
- 5-Day Weather Forecast: Provides users with a detailed forecast for the upcoming five days.
- Hourly Weather: Offers hourly updates for accurate planning.
- News: Includes global, national, and region-specific weather news. Currently, only Kerala news is included, with plans to expand to other states.
- Weather Alerts: Implement alerts for severe weather conditions, including red alerts sent to user emails.
- Nowcast: Display weather alerts on a map for real-time updates.
- National and Regional Weather: Expand the coverage to include more states.
- User Experience Sharing: Allow users to post their weather experiences and share content.
- Clone the repository:
git clone <https://github.com/vprayag2005/WeatherApp.git>
- Navigate to the project directory:
cd <project-directory>
- Set up your virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required packages:
pip install -r requirements.txt
- Set up the database:
- Ensure you have MySQL installed and running.
- Create a database and update the database settings in
settings.py. - Run migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
- Access the website at
http://127.0.0.1:8000/.
This project is a personal project and is not open source. However, you can raise issues and provide feedback if you encounter any problems or have suggestions.