File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 20
20
21
21
- Fastapi (Python)
22
22
- Spring boot (Java)
23
+ - Gradle
23
24
- Postgresql
25
+ - Flyway
24
26
- Docker
27
+ - Geonames
25
28
26
29
### Installation
27
30
28
31
1 . Create a Telegram bot using [ BotFather] ( https://t.me/BotFather ) .
32
+ 2 . Create Geonames account [ here] ( https://www.geonames.org/export/web-services.html ) .
29
33
30
- 2 . Create an .env file:
34
+ 3 . Create an .env file:
31
35
``` dotenv
32
36
API_KEY=YOUR_RANDOM_API_KEY
33
37
API_URL=http://localhost:8000
34
38
API_DOCKER_URL=http://flightradar-api:8000
35
39
40
+ GEONAMES_URL=http://api.geonames.org/searchJSON
41
+ GEONAMES_USERNAME=YOUR_GEONAMES_USERNAME
42
+
36
43
BOT_NAME=YOUR_BOT_NAME
37
44
BOT_TOKEN=YOUR_TOKEN
38
45
46
53
MAIL_PASSWORD=YOUR_BOT_EMAIL_PASSWORD
47
54
```
48
55
49
- 3 . Run the application in Docker:
56
+ 4 . Run the application in Docker:
50
57
```
51
58
docker-compose up --build -d
52
59
```
You can’t perform that action at this time.
0 commit comments