mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 08:55:58 +03:00
[PR #311] [CLOSED] docs: Fix incorrect database initialization command #281
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/311
Author: @oxcodexo
Created: 11/22/2025
Status: ❌ Closed
Base:
main← Head:docs/fix-db-init-command📝 Commits (1)
f0d0920docs: fix incorrect database initialization command" -m "Update installation, configuration, and troubleshooting guides to reference the correct function name 'init_database' instead of 'initialize_database'. This fixes an ImportError that occurred when following the installation instructions.📊 Changes
3 files changed (+4 additions, -4 deletions)
View changed files
📝
docs-site/docs/getting-started/configuration.md(+1 -1)📝
docs-site/docs/getting-started/installation.md(+2 -2)📝
docs-site/docs/guides/troubleshooting.md(+1 -1)📄 Description
Pull Request
📝 Description
This PR corrects the database initialization command in the installation and configuration guides. The documentation previously referenced
initialize_database, which caused anImportErrorbecause the actual function in services/database.py is named init_database.Changes:
🔄 Type of Change
🎯 Related Issues
Fixes
ImportError: cannot import name 'initialize_database' from 'services.database'during setup.🧪 Testing
Verification:
Ran the corrected command
python -c "from services.database import init_database; init_database()"and confirmed it successfully initializes the database without errors.📸 Screenshots (if applicable)
N/A
🏷️ Component/Feature
Which component or feature is affected?
📋 Checklist
ALwrity-Specific Checklist
🔍 Code Quality
📚 Documentation
🚀 Deployment Notes
None.
🔗 Additional Context
This was a blocking issue for new installations.
👥 Reviewers
Tag specific reviewers if needed:
@AJaySi @uniqueumesh @DikshaDisciplines
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.