chore: organize documentation structure for monorepo

- Create /docs structure (microdao, daarion, agents)
- Organize 61 cursor technical docs
- Add README files for each category
- Copy key documents to public categories
- Add GitHub setup instructions and scripts
This commit is contained in:
Apple
2025-11-15 04:08:35 -08:00
parent 5520665600
commit c552199eed
138 changed files with 39624 additions and 40 deletions

77
push-to-github.sh Executable file
View File

@@ -0,0 +1,77 @@
#!/bin/bash
# Скрипт для публікації проєкту на GitHub
# Використання: ./push-to-github.sh YOUR_USERNAME REPO_NAME
set -e
USERNAME=${1:-"YOUR_USERNAME"}
REPO_NAME=${2:-"microdao-daarion"}
echo "🚀 Підготовка до публікації на GitHub..."
echo ""
# Перевірка SSH ключа
echo "📋 Перевірка SSH підключення..."
if ssh -T git@github.com 2>&1 | grep -q "successfully authenticated"; then
echo "✅ SSH ключ налаштовано!"
else
echo "❌ SSH ключ не налаштовано. Див. GITHUB_SETUP.md"
exit 1
fi
# Перевірка remote
echo ""
echo "📋 Перевірка remote..."
if git remote get-url origin > /dev/null 2>&1; then
echo "✅ Remote вже налаштовано:"
git remote -v
read -p "Використати існуючий remote? (y/n) " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
echo "Видаляю старий remote..."
git remote remove origin
else
echo "Використовую існуючий remote"
git push -u origin main
exit 0
fi
fi
# Додавання remote
echo ""
echo "📋 Додавання remote..."
git remote add origin "git@github.com:${USERNAME}/${REPO_NAME}.git"
echo "✅ Remote додано: git@github.com:${USERNAME}/${REPO_NAME}.git"
# Додавання файлів
echo ""
echo "📋 Додавання файлів..."
git add .
echo "✅ Файли додані"
# Коміт
echo ""
echo "📋 Створення коміту..."
if git diff --cached --quiet; then
echo " Немає змін для коміту"
else
git commit -m "chore: initial commit - MicroDAO & DAARION.city
- Organize documentation structure (microdao, daarion, agents)
- 61 cursor technical docs
- Source code and configuration
- Setup instructions"
echo "✅ Коміт створено"
fi
# Push
echo ""
echo "📋 Push на GitHub..."
git branch -M main
git push -u origin main
echo ""
echo "🎉 Готово! Проєкт опубліковано на GitHub!"
echo "🔗 https://github.com/${USERNAME}/${REPO_NAME}"