Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NickNaskida committed Oct 10, 2023
1 parent 281b170 commit e78b56c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ Telegram mini app requires a public url (https) to work. We will use `ngrok` to
- Python Version issues
- The project was developed with Python 3.10 but 3.8+ should work too
- Make sure you have python 3.8+ installed
- Also make sure you have installed everything from `requirements.txt` file
```
pip install -r requirements.txt
```
- These are base packages that I believe every FastAPI + Aiogram app will need.
#### Alembic migrations related errors
- Migration conflicts and errors
Expand All @@ -214,7 +219,6 @@ Telegram mini app requires a public url (https) to work. We will use `ngrok` to
- In this case make sure you inherit from `PkBase` model in your models.
- Also if you define another base model, you should import it and any other model(s) in `migrations/env.py` file
#### CORS Related Errors
Cross-Origin Resource Sharing (CORS) is a security feature implemented by web browsers to protect against unauthorized requests from different domains. When developing a web application, you might encounter CORS issues when your front-end code, hosted on one domain, tries to make requests to an API or server on a different domain. To enable these cross-domain requests safely, you need to configure CORS settings in your FastAPI app.
Expand Down

0 comments on commit e78b56c

Please sign in to comment.