public-release phases 1-3: read-only public mode, gunicorn container, demo bootstrap, CI, README
- before_request guard: visitors browse + explore; writes need PHYSCOM_ADMIN_TOKEN login - SameSite=Lax/HttpOnly cookies, persisted secret key, debug off unless FLASK_DEBUG=1 - non-root gunicorn container with healthcheck; physcom demo --if-empty on first start - landing page Top Concepts, write controls hidden from visitors - CI workflow, pyproject metadata, compose Ollama parity, README rewrite - tests/test_web_access.py: access control + GET smoke test of every page Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,14 @@ build-backend = "setuptools.build_meta"
|
||||
name = "physcom"
|
||||
version = "0.1.0"
|
||||
description = "Physical Combinatorics — innovation via attribute mixing"
|
||||
requires-python = ">=3.10"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
authors = [{ name = "Andrew Simonson", email = "asimonson1125@gmail.com" }]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"Framework :: Flask",
|
||||
"Topic :: Scientific/Engineering :: Physics",
|
||||
]
|
||||
dependencies = [
|
||||
"click>=8.1",
|
||||
]
|
||||
@@ -17,11 +24,15 @@ dev = [
|
||||
]
|
||||
web = [
|
||||
"flask>=3.0",
|
||||
"gunicorn>=22.0",
|
||||
]
|
||||
gemini = [
|
||||
"google-genai>=1.0",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://git.asimonson.com/andrew/physicalCombinatorics"
|
||||
|
||||
[project.scripts]
|
||||
physcom = "physcom.cli:main"
|
||||
physcom-web = "physcom_web.app:run"
|
||||
|
||||
Reference in New Issue
Block a user