From b3d0663e3f7b5e6fadfa5e3b244d7a3214fa7e41 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Mon, 22 May 2023 08:07:50 -0500 Subject: [PATCH] doc settings --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 6044f26..ffe4f6c 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,30 @@ curl -X 'GET' \ -H 'accept: application/json' ``` +## Settings Management + +config support `.env`, `.env.dev`, `.env.qa`, `.env.prod`. + +```.env +ENV=dev +DATABASE_URL=sqlite:///db.sqlite +API_SERVER__PORT=8000 +API_SERVER__RELOAD=False +API_SERVER__LOG_LEVEL=debug +``` + +## Populating the database + +```bash +learn-sql-model hero populate +``` + +## Creating new modesl + +```bash +learn-sql-model model create +``` + ## License `learn-sql-model` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.