[English version below / 英語版は下部にあります]
ご覧いただきありがとうございます。このアプリケーションは、日本の主要都市の天気予報を表示し、世界中の都市の天気情報を検索することができます。
- Python 3.12.4
- Flask 2.0.1
- Requests 2.26.0
weather_app/
│
├── backend/
│ ├── app.py
│ └── requirements.txt
│
├── frontend/
│ ├── index.html
│ ├── styles.css
│ ├── script.js
│ └── translations.js
│
├── main.py
├── README.md
└── .gitignore
- このリポジトリをクローンします。
git clone https://github.com/xM1guel/weather-app.git
cd weather-app
- 必要なパッケージをインストールします。
pip install -r backend/requirements.txt
- OpenWeatherMapからAPIキーを取得します。
- APIキーを追加します:
WEATHER_API_KEY=your_api_key_here
- 以下のコマンドを実行します:
python main.py
- exeファイル版を使用する場合、
Release
ページからweather-app.exe
をダウンロードして起動してください。
exeファイルは.envファイルと同じ階層ディレクトリに配置してください。
Thank you for your interest in this application. This Weather Forecast Application displays weather forecasts for major Japanese cities and allows users to search for weather information in cities worldwide.
- Python 3.12.4
- Flask 2.0.1
- Requests 2.26.0
weather_app/
│
├── backend/
│ ├── app.py
│ └── requirements.txt
│
├── frontend/
│ ├── index.html
│ ├── styles.css
│ ├── script.js
│ └── translations.js
│
├── main.py
├── README.md
└── .gitignore
- Clone this repository
git clone https://github.com/yourusername/weather-app.git
cd weather-app
- Install the required packages
pip install -r backend/requirements.txt
- Set up your OpenWeatherMap API key
- Create a
.env
and add your API key:WEATHER_API_KEY=your_api_key_here
- Run the following command
python main.py
- if you want to use the exe file version, download
weather-app.exe
from theRelease
page and launch it.
Please place the exe file in the same hierarchical directory as the .env file. Please place the exe file in the same hierarchical directory as the .env file.
- 作成者: xM1guel
- GitHub: https://github.com/xM1guel
- Zenn: https://zenn.dev/miguel