init with some kind of working prototype

This commit is contained in:
ducklet 2021-06-15 19:09:21 +02:00
commit b5cb22822e
22 changed files with 1292 additions and 0 deletions

5
scripts/app Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh -eu
[ -z "${DEBUG:-}" ] || set -x
exec python -m unwind "$@"

7
scripts/build Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh -eu
cd "$RUN_DIR"
[ -z "${DEBUG:-}" ] || set -x
exec poetry export -o requirements.txt

5
scripts/dev Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh -eu
[ -z "${DEBUG:-}" ] || set -x
exec uvicorn unwind:web_app --reload

8
scripts/lint Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh -eu
cd "$RUN_DIR"
[ -z "${DEBUG:-}" ] || set -x
isort --profile black unwind
black unwind

5
scripts/server Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh -eu
[ -z "${DEBUG:-}" ] || set -x
exec uvicorn --host 0.0.0.0 unwind:web_app