mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 12:09:43 +02:00
feat: integrate uload and picture, unify package naming
- Add uload project with apps/web structure
- Reorganize from flat to monorepo structure
- Remove PocketBase binary and local data
- Update to pnpm and @uload/web namespace
- Add picture project to monorepo
- Remove embedded git repository
- Unify all package names to @{project}/{app} schema:
- @maerchenzauber/* (was @storyteller/*)
- @manacore/* (was manacore-*, manacore)
- @manadeck/* (was web, backend, manadeck)
- @memoro/* (was memoro-web, landing, memoro)
- @picture/* (already unified)
- @uload/web
- Add convenient dev scripts for all apps:
- pnpm dev:{project}:web
- pnpm dev:{project}:landing
- pnpm dev:{project}:mobile
- pnpm dev:{project}:backend
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c6c4c5a552
commit
c712a2504a
1031 changed files with 189301 additions and 290 deletions
30
picture/scripts/set-replicate-key.sh
Executable file
30
picture/scripts/set-replicate-key.sh
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Script to set Replicate API Key in Supabase Edge Functions
|
||||
|
||||
echo "Setting Replicate API Key for Supabase Edge Functions..."
|
||||
echo ""
|
||||
echo "Please enter your Replicate API Key (starts with r8_):"
|
||||
read -s REPLICATE_KEY
|
||||
echo ""
|
||||
|
||||
if [[ ! $REPLICATE_KEY == r8_* ]]; then
|
||||
echo "Error: API Key should start with 'r8_'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Setting the key in Supabase..."
|
||||
|
||||
# Set using Supabase CLI
|
||||
npx supabase secrets set REPLICATE_API_KEY=$REPLICATE_KEY --project-ref mjuvnnjxwfwlmxjsgkqu
|
||||
|
||||
echo ""
|
||||
echo "Waiting for secrets to sync (20 seconds)..."
|
||||
sleep 20
|
||||
|
||||
echo ""
|
||||
echo "Done! The key has been set. Please test the image generation now."
|
||||
echo ""
|
||||
echo "To verify, you can check in Supabase Dashboard:"
|
||||
echo "1. Go to Edge Functions → Secrets"
|
||||
echo "2. You should see REPLICATE_API_KEY listed there"
|
||||
Loading…
Add table
Add a link
Reference in a new issue