Update
This commit is contained in:
parent
e7b69c262b
commit
ad7b809bbc
|
@ -85,7 +85,7 @@ ipython_config.py
|
||||||
# pyenv
|
# pyenv
|
||||||
# For a library or package, you might want to ignore these files since the code is
|
# For a library or package, you might want to ignore these files since the code is
|
||||||
# intended to run in multiple environments; otherwise, check them in:
|
# intended to run in multiple environments; otherwise, check them in:
|
||||||
# .python-version
|
.python-version
|
||||||
|
|
||||||
# pipenv
|
# pipenv
|
||||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||||
|
|
27
README.md
27
README.md
|
@ -1,14 +1,13 @@
|
||||||
fastapi run LeraFoxQueen/main.py
|
fastapi run LeraFoxQueen/main.py
|
||||||
|
|
||||||
hypercorn LeraFoxQueen.main:app --reload --bind 0.0.0.0:8001
|
hypercorn LeraFoxQueen.main:app --reload --bind 0.0.0.0:8001
|
||||||
|
|
||||||
poetry run hypercorn LeraFoxQueen/main:app --reload --bind 0.0.0.0:8001
|
poetry run hypercorn LeraFoxQueen/main:app --reload --bind 0.0.0.0:8001
|
||||||
|
|
||||||
uvicorn LeraFoxQueen.main:app --reload --host 0.0.0.0 --port 8001
|
uvicorn LeraFoxQueen.main:app --reload --host 0.0.0.0 --port 8001
|
||||||
|
|
||||||
https://www.tutorialspoint.com/fastapi/fastapi_path_parameters.htm
|
https://www.tutorialspoint.com/fastapi/fastapi_path_parameters.htm
|
||||||
|
|
||||||
https://eugeneyan.com/writing/how-to-set-up-html-app-with-fastapi-jinja-forms-templates/
|
https://eugeneyan.com/writing/how-to-set-up-html-app-with-fastapi-jinja-forms-templates/
|
||||||
|
|
||||||
|
https://github.com/josepaiva94/starter-fastapi-celery/tree/master/app
|
||||||
https://github.com/josepaiva94/starter-fastapi-celery/tree/master/app
|
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mv .git/config config
|
||||||
|
|
||||||
|
rm -rf .git
|
||||||
|
|
||||||
|
git init -b main
|
||||||
|
|
||||||
|
mv config .git/config
|
||||||
|
|
||||||
|
git add --all .
|
||||||
|
|
||||||
|
git commit -m "cleanup"
|
||||||
|
|
||||||
|
git push origin main --force
|
||||||
|
|
||||||
|
echo "################################################################"
|
||||||
|
echo "################### cleanup Done ######################"
|
||||||
|
echo "################################################################"
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git add . && git commit -m "Update"
|
||||||
|
git push
|
||||||
|
|
||||||
|
echo "Ready"
|
|
@ -28,6 +28,7 @@ dependencies = [
|
||||||
"idna (>=3.10,<4.0)",
|
"idna (>=3.10,<4.0)",
|
||||||
"sniffio (>=1.3.1,<2.0.0)",
|
"sniffio (>=1.3.1,<2.0.0)",
|
||||||
]
|
]
|
||||||
|
package-mode = false
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
python -m venv .venv
|
||||||
|
pyenv local 3.13
|
||||||
|
poetry env activate
|
||||||
|
poetry install --no-root
|
||||||
|
|
||||||
|
#hypercorn LeraFoxQueen.main:app --reload --bind 0.0.0.0:8001
|
||||||
|
#poetry run hypercorn LeraFoxQueen/main:app --reload --bind 0.0.0.0:8001
|
||||||
|
#uvicorn LeraFoxQueen.main:app --reload --host 0.0.0.0 --port 8001
|
||||||
|
uvicorn LeraFoxQueen.main:app --reload --host 127.0.0.1 --port 8001
|
Loading…
Reference in New Issue