# CoreDoc Quick Start Guide ## For Markbase Team --- ## Accessing Documentation ### 1. Main Documentation ```bash # Legacy WASM System http://localhost:11438/docs/legacy/ # API Documentation http://localhost:11438/docs/api/ # CLI Documentation http://localhost:11438/docs/cli/ ``` ### 2. Login Credentials - **Username**: `admin` - **Password**: `admin123` --- ## Common Tasks ### View a Specific Module ```bash # Legacy system curl -u admin:admin123 http://localhost:11438/docs/legacy/modules/001_Auth_v1.3.5.md # API docs curl -u admin:admin123 http://localhost:11438/docs/api/modules/001_Auth_API.md # CLI docs curl -u admin:admin123 http://localhost:11438/docs/cli/modules/101_Register_CLI.md ``` ### Update Documentation ```bash # Edit file vim /Users/accusys/momentry_core/docs_v1.0/API_WORKSPACE/modules/Auth_API.md # Commit changes cd /Users/accusys/momentry_core git add docs_v1.0/API_WORKSPACE/modules/Auth_API.md git commit -m "docs: update Auth API" git push ``` ### Restart Server ```bash cd /Users/accusys/markbase # Stop lsof -ti :11438 | xargs kill -9 # Start ./target/release/markbase-core interface web --port 11438 ``` --- ## Directory Locations | Content | Location | |---------|----------| | **Documentation** | `docs/core-doc/` | | **Legacy WASM** | `static/docs/legacy/` | | **API Docs** | `static/docs/api/` | | **CLI Docs** | `static/docs/cli/` | --- ## Troubleshooting ### Can't Access Documentation 1. Check server is running: `lsof -i :11438` 2. Check credentials: `curl -u admin:admin123 http://localhost:11438/docs/` 3. Check logs: `tail -f logs/markbase.log` ### Need Help? - Read: `docs/core-doc/MAINTENANCE_GUIDE.md` - Check: `docs/core-doc/TROUBLESHOOTING.md` --- ## Quick Reference ```bash # Start server ./target/release/markbase-core interface web # View docs open http://localhost:11438/docs/legacy/ # Test API curl -u admin:admin123 http://localhost:11438/docs/api/modules/001_Auth_API.md # Rebuild WASM (rarely needed) cd ~/momentry_core/md_wasm && cargo build --target wasm32-unknown-unknown --release ``` --- **Last Updated**: 2026-10-25