Files
chat/docs/demo-user.md
zeekay dc481954f4 feat: Add GitHub Actions workflow for Docker builds
- Add docker-publish.yml workflow for ghcr.io
- Add production-ready Dockerfile (if missing)
- Enable automated builds on push to main
- Support for semantic versioning tags
2025-07-23 23:06:15 -05:00

1.1 KiB

Hanzo Chat Demo User

When running Hanzo Chat locally, a demo user is automatically created for quick access.

Demo User Credentials

Quick Start

  1. Start the Hanzo stack:

    docker compose up -d
    
  2. Access Hanzo Chat:

Manual Demo User Creation

If you need to manually create the demo user (e.g., after resetting the database):

./init-demo-user.sh

Or using the Makefile:

make -f Makefile.hanzo init-demo

Security Note

⚠️ This demo user is for local development only!

Never use these credentials in production. Always:

  • Change default passwords
  • Use proper authentication methods
  • Disable demo users in production environments

Customizing the Demo User

To modify the demo user details, edit scripts/seed_demo_user.js and change:

  • Name
  • Email
  • Password
  • Role (USER or ADMIN)
  • Avatar URL

After making changes, restart the stack or run the initialization script again.