From 34b79ba3c234f6acc88af2eebb83ffa0e11c4515 Mon Sep 17 00:00:00 2001 From: leonard Date: Fri, 1 Dec 2023 15:26:50 +0100 Subject: [PATCH] fix path to custom code --- doc/ADMIN.md | 4 ++-- doc/ADMIN_fr.md | 2 +- doc/POST_INSTALL.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 2591dab..0f0588b 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,3 +1,3 @@ -To customize the FastAPI app, you have to put your code in `__DATA_DIR__` +To customize the FastAPI app, you have to put your code in `__DATA_DIR__`/FastAPIAppFolder/ -Your code must have a __init__.py file and the FastAPI object must be named 'app' +Your code must have a '__init__'.py file and the FastAPI object must be named 'app' diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 5bb7bba..2faa532 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,3 +1,3 @@ -Pour personnaliser l'application FastAPI, il faut mettre votre code dans `__DATA_DIR__` +Pour personnaliser l'application FastAPI, il faut mettre votre code dans `__DATA_DIR__`/FastAPIAppFolder/ Votre code doit contenir un fichier __init__.py et l'objet FastAPI doit s'appeler 'app' \ No newline at end of file diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md index c7cf9f8..5122574 100644 --- a/doc/POST_INSTALL.md +++ b/doc/POST_INSTALL.md @@ -1,4 +1,4 @@ Congrats, the application is installed. -You can now put your FastAPI application's code in the folder `__DATA_DIR__` +You can now put your FastAPI application's code in the folder `__DATA_DIR__`/FastAPIAppFolder/ Your application must contain a __init__.py file and the FastAPI object must be named 'app' \ No newline at end of file