Installing on local (with Docker)
- Build the docker image
docker build -t daily-forecast .
- Run a container using the image built previously. Take note to replace
<your_api_key>
with your own AccuWeather API key.
docker run --name daily-forecast-dev -p 5173:5173 -e VITE_ACCUWEATHER_API_KEY=<your_api_key> daily-forecast
- Visit
localhost:5173
in your web browser.
Installing on local (without Docker)
- Install npm dependencies.
- Run the dev environment. Take note to replace
<your_api_key>
with your own AccuWeather API key.
VITE_ACCUWEATHER_API_KEY=<your_api_key> npm run dev
- Visit
localhost:5173
in your web browser.