File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 22
33## Installation
44
5- Clone the repository and install the dependencies. This project uses
6- [ Poetry] [ poetry ] {: target ="_ blank"} for dependency management which should be
7- installed on your system first.
5+ Clone the repository from [ here ] [ repo ] { : target =" _ blank"} and install the
6+ dependencies. This project uses [ Poetry] [ poetry ] {: target ="_ blank"} for
7+ dependency management which should be installed on your system first.
88
99``` console
1010poetry install
@@ -30,7 +30,8 @@ uvicorn main:app --reload
3030> python main.py
3131> ` ` `
3232
33- Then open your browser at [http://localhost:8000](http://localhost:8000).
33+ Then open your browser at
34+ [http://localhost:8000](http://localhost:8000){:target="_blank"}.
3435
3536There is only one endpoint available: `/users`. It returns a list of all users
3637for a `GET` request and creates a new user for a `POST` request.
@@ -83,3 +84,4 @@ DATABASE_URL = "sqlite+aiosqlite:///./test.db"
8384[ postgres ] :https://www.postgresql.org/
8485[ docker ] :https://www.docker.com/
8586[ sqlite ] :https://www.sqlite.org/
87+ [ repo ] :https://github.com/seapagan/fastapi_async_sqlalchemy2_example
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ site_name: Async SQLAlchemy 2 with FastAPI
33repo_url : https://github.com/seapagan/fastapi_async_sqlalchemy2_example
44repo_name : fastapi_async_sqlalchemy2
55
6+ dev_addr : " 127.0.0.1:9000"
7+
68theme :
79 name : material
810 features :
1820 - icon : fontawesome/brands/twitter
1921 link : https://twitter.com/gnramsay-dev
2022
23+ copyright : © 2023-2024 Grant Ramsay (Seapagan)
24+
2125plugins :
2226 - search
2327 - minify :
Original file line number Diff line number Diff line change @@ -57,6 +57,16 @@ ruff.cmd = "ruff check ."
5757markdown.cmd = " pymarkdown --strict-config scan -r docs/**/*.md"
5858markdown.help = " Run markdown checks"
5959
60+ # documentation tasks
61+ "docs:publish".cmd = " mkdocs gh-deploy"
62+ "docs:publish".help = " Publish documentation to GitHub Pages"
63+ "docs:build".cmd = " mkdocs build"
64+ "docs:build".help = " Build documentation locally to './site' folder"
65+ "docs:serve".cmd = " mkdocs serve"
66+ "docs:serve".help = " Serve documentation locally"
67+ "docs:serve:all".cmd = " mkdocs serve"
68+ "docs:serve:all".help = " Serve documentation locally on all interfaces"
69+
6070[tool .pymarkdown ]
6171plugins.md014.enabled = false
6272plugins.md046.enabled = false
You can’t perform that action at this time.
0 commit comments