Spaces:
Runtime error
Runtime error
Build Fair Dinkum Publishing ebook studio
Browse files- README.md +6 -1
- app.py +0 -0
- requirements.txt +2 -0
README.md
CHANGED
|
@@ -10,7 +10,7 @@ short_description: Brett Sjoberg. Fair Dinkum Aussie AI Publishing bundle
|
|
| 10 |
|
| 11 |
Fair Dinkum Publishing is a Docker Space that shows an ebook catalog with locally generated thumbnail covers and a Stripe-ready membership signup flow.
|
| 12 |
|
| 13 |
-
Set these Space secrets for checkout:
|
| 14 |
|
| 15 |
- `STRIPE_SECRET_KEY`
|
| 16 |
- `STRIPE_PRICE_ID_MONTHLY`
|
|
@@ -18,4 +18,9 @@ Set these Space secrets for checkout:
|
|
| 18 |
- `STRIPE_WEBHOOK_SECRET` if you want webhook verification
|
| 19 |
- `PUBLIC_BASE_URL` if you want to override the Space URL
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
The Space starts with `uvicorn app:app --host 0.0.0.0 --port 7860`.
|
|
|
|
| 10 |
|
| 11 |
Fair Dinkum Publishing is a Docker Space that shows an ebook catalog with locally generated thumbnail covers and a Stripe-ready membership signup flow.
|
| 12 |
|
| 13 |
+
Set these Space secrets for checkout and optional persistence:
|
| 14 |
|
| 15 |
- `STRIPE_SECRET_KEY`
|
| 16 |
- `STRIPE_PRICE_ID_MONTHLY`
|
|
|
|
| 18 |
- `STRIPE_WEBHOOK_SECRET` if you want webhook verification
|
| 19 |
- `PUBLIC_BASE_URL` if you want to override the Space URL
|
| 20 |
|
| 21 |
+
- `SUPABASE_URL`
|
| 22 |
+
- `SUPABASE_SECRET_KEY` or `SUPABASE_SERVICE_ROLE_KEY` for server-side writes
|
| 23 |
+
- `SUPABASE_PUBLISHABLE_KEY` if you want the app to detect Supabase availability
|
| 24 |
+
- `SUPABASE_JWKS_URL` if you want JWT validation wiring available
|
| 25 |
+
- `OPENAI_API_KEY` if you want AI-assisted research generation
|
| 26 |
The Space starts with `uvicorn app:app --host 0.0.0.0 --port 7860`.
|
app.py
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
requirements.txt
CHANGED
|
@@ -13,3 +13,5 @@ pillow
|
|
| 13 |
reportlab
|
| 14 |
python-multipart
|
| 15 |
aiofiles
|
|
|
|
|
|
|
|
|
| 13 |
reportlab
|
| 14 |
python-multipart
|
| 15 |
aiofiles
|
| 16 |
+
duckduckgo-search
|
| 17 |
+
openai
|