From e78b56c0848c12b7756f699038b0fe7293a96d3d Mon Sep 17 00:00:00 2001 From: Nikoloz Naskidashvili Date: Tue, 10 Oct 2023 09:09:11 +0400 Subject: [PATCH] chore: update docs --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 56cd91f..3c547ca 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.