feat(core): implement secure MVP core with dictionary search, auth, and CRUD
This commit is contained in:
1 parent
4dbc53890a
commit
813d567b0e
14 files changed
+2960
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." >/dev/null 2>&1 && pwd )"
|
||||
cd "$DIR"
|
||||
|
||||
# Source virtualenv
|
||||
source venv/bin/activate
|
||||
|
||||
# Default port 8002, host 127.0.0.1
|
||||
HOST="${HOST:-127.0.0.1}"
|
||||
PORT="${PORT:-8002}"
|
||||
|
||||
exec uvicorn app.main:app --host "$HOST" --port "$PORT" --workers 2
|
||||
Reference in new issue
Block a user