Files
WeatherTool/README.md
T
Guntis Smaukstelis 526426139c Comment out postgres
2023-11-05 23:21:42 +02:00

53 lines
1.0 KiB
Markdown

# Weather Tool
Tool for downloading historical and real-time data from 33 weather stations in Latvia. It aggregates and displays data for different time periods, cities, and weather parameters.
## Run
```
// scala
sbt run
// web
cd web/
npm run dev
```
**Author:** Guntis Smaukstelis
**Mentor:** Jānis Komuls
**Status:** Live
**URL:** [https://weather-tool.fly.dev/](https://weather-tool.fly.dev/)
**Used By:** State television weather news
**Repository:** [https://github.com/guntisdev/WeatherTool](https://github.com/guntisdev/WeatherTool)
## Backend Technologies:
- cats-effects
- http4s
- pureconfig
- fs2
- circe
- scalatest
## Frontend Technologies:
- SolidJS
- Vite
## Deployment:
- Docker
- Shell script
- Fly.io
## Docker
```
docker pull postgres
docker run --name local-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
docker stop local-postgres
docker start local-postgres
```
## Fly Postgres
```
fly machines list --app <app-name>
fly machines start <machine-id> --app <app-name>
```