Initial commit.

This commit is contained in:
2024-12-05 19:34:58 +01:00
commit 40b8bd42fd
18 changed files with 460 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
BIN = ./.venv/bin/
PYTHON = ./.venv/bin/python
PIP = ./.venv/bin/pip
APP_NAME=rchat
all: ensure_repo ensure_env format install build
ensure_repo:
-@git init
ensure_env:
-@python3 -m venv .venv
install:
$(PIP) install -e .
format:
$(PIP) install shed
. $(BIN)/activate && shed
build: format install
$(PIP) install build
$(PYTHON) -m build
run:
$(BIN)rchat.serve