Skip to content

Commit

Permalink
modify README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ViLsonCake committed Jul 23, 2024
1 parent 413a80b commit 88a186a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,26 @@ ___

- Fastapi (Python)
- Spring boot (Java)
- Gradle
- Postgresql
- Flyway
- Docker
- Geonames

### Installation

1. Create a Telegram bot using [BotFather](https://t.me/BotFather).
2. Create Geonames account [here](https://www.geonames.org/export/web-services.html).

2. Create an .env file:
3. Create an .env file:
```dotenv
API_KEY=YOUR_RANDOM_API_KEY
API_URL=http://localhost:8000
API_DOCKER_URL=http://flightradar-api:8000
GEONAMES_URL=http://api.geonames.org/searchJSON
GEONAMES_USERNAME=YOUR_GEONAMES_USERNAME
BOT_NAME=YOUR_BOT_NAME
BOT_TOKEN=YOUR_TOKEN
Expand All @@ -46,7 +53,7 @@ ___
MAIL_PASSWORD=YOUR_BOT_EMAIL_PASSWORD
```

3. Run the application in Docker:
4. Run the application in Docker:
```
docker-compose up --build -d
```

0 comments on commit 88a186a

Please sign in to comment.