Skip to content

Add demo tenant seeding for Codespaces with predefined credentials - #11

Merged
vincentmakes merged 1 commit into
mainfrom
claude/docs-demo-cf-pages-niKTq
Apr 9, 2026
Merged

vincentmakes merged 1 commit into
mainfrom
claude/docs-demo-cf-pages-niKTq

Conversation

@vincentmakes

Copy link
Copy Markdown
Owner
  • Add app/scripts/seed_demo.py: creates a "demo" tenant with 2 sites, 4 projects (with phases and staff assignments), 8 staff members with skills, 8 equipment items, and vacations. All using known password "demo1234" for immediate exploration.
  • Update .devcontainer/setup.sh to run seed_demo after init_db, and print demo credentials on setup completion.
  • Set INIT_ADMIN_PASSWORD=demo1234 in devcontainer docker-compose so the admin portal also uses a known password.
  • Update README.md with demo credentials table (admin portal + tenant).
  • Update docs/admin-guide/installation.md with Codespaces demo details.
  • Add docs/build.sh for CF Pages builds (avoids root requirements.txt).

CF Pages dashboard settings needed:
Build command: bash docs/build.sh Output directory: site Environment variable: SKIP_DEPENDENCY_INSTALL=true

https://claude.ai/code/session_0161AK6paBMXuxs7uThEWmjC

- Add app/scripts/seed_demo.py: creates a "demo" tenant with 2 sites,
  4 projects (with phases and staff assignments), 8 staff members with
  skills, 8 equipment items, and vacations. All using known password
  "demo1234" for immediate exploration.
- Update .devcontainer/setup.sh to run seed_demo after init_db, and
  print demo credentials on setup completion.
- Set INIT_ADMIN_PASSWORD=demo1234 in devcontainer docker-compose so
  the admin portal also uses a known password.
- Update README.md with demo credentials table (admin portal + tenant).
- Update docs/admin-guide/installation.md with Codespaces demo details.
- Add docs/build.sh for CF Pages builds (avoids root requirements.txt).

CF Pages dashboard settings needed:
  Build command: bash docs/build.sh
  Output directory: site
  Environment variable: SKIP_DEPENDENCY_INSTALL=true

https://claude.ai/code/session_0161AK6paBMXuxs7uThEWmjC
@vincentmakes
vincentmakes merged commit 659b258 into main Apr 9, 2026
6 of 8 checks passed
@vincentmakes
vincentmakes deleted the claude/docs-demo-cf-pages-niKTq branch April 9, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants