mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-20 17:02:53 -04:00
Adds script/bootstrap/windows/*.ps1 (PowerShell 5.1-compatible) as the primary bootstrap path, validated end-to-end on a real Windows 10 machine: - Portable stack under gitignored .devstack/: MySQL 8.4.11 (official cdn.mysql.com zip, --initialize-insecure, bound to 127.0.0.1) and Redis 5.0.14.1 (tporadowski build, REDIS_ZIP_URL-overridable) run as plain user processes - no admin, no services, no WSL, no Docker - bootstrap_dev_stack.ps1: winget-installs missing build tools (Strawberry Perl, NASM, LLVM; wreq's BoringSSL + aws-lc-sys need them), compiles diesel_cli against the portable MySQL's own client lib (MYSQLCLIENT_LIB_DIR), runs all 281 migrations, seeds roles/badges idempotently, generates the dummy secrets env (plus TEMP_DIR for Windows), builds storyteller-web, installs frontend deps - start/stop_dev_services.ps1, run_backend_dev.ps1, seed_demo_user.ps1, dev_stack_doctor.ps1 mirror the bash variants - Invoke-Native (cmd /c ... 2>&1) wraps long-running native calls so PS 5.1 cannot turn harmless stderr warnings into terminating NativeCommandErrors when output is captured; my.ini uses forward slashes (MySQL escape rules) Verified on this machine: 281/281 migrations applied, backend built (3m05s) and booted on :12345 with dummy secrets, POST /v1/create_account + /v1/login round-trip succeeded, webapp dev server served on :4201, doctor reports 0 failures. The bash scripts remain the Linux/WSL2/CI path.
110 lines
2.1 KiB
Plaintext
110 lines
2.1 KiB
Plaintext
# Secrets are BAD!
|
|
*secret*sh
|
|
.env
|
|
.env-aichatbot-secrets
|
|
.env-analytics-job
|
|
.env-elasticsearch-secrets
|
|
.env-migration-tool-secrets
|
|
.env-secrets
|
|
.env-support-tool-secrets
|
|
_develop/tools/.secrets
|
|
_develop/tools/db_secrets.toml
|
|
crates/service/web/storyteller_web/config/storyteller-web.development-secrets.env
|
|
db.secrets
|
|
db_secrets.toml
|
|
env-secrets
|
|
pubkeys.txt
|
|
secrets.toml
|
|
secrets.yaml
|
|
secrets/
|
|
twitch_secrets.toml
|
|
|
|
# Old env secrets
|
|
.*-secrets
|
|
|
|
# New env secrets (per-app)
|
|
*-secrets.env
|
|
|
|
# Utilities with secrets
|
|
production_database_secret_connect.sh
|
|
production_database_secret_query.sh
|
|
production_database_voice_clone_report_download.sh
|
|
script/artcraft/mac_signing_build.sh
|
|
script/production_database_secret_backup.sh
|
|
script/production_database_secret_connect.sh
|
|
script/socat_dev_database_connect.sh
|
|
|
|
# Python virtual envs (named by convention)
|
|
venv/
|
|
|
|
# LLM Testing
|
|
/external/
|
|
/prompts/
|
|
/reports/
|
|
/requests/
|
|
|
|
# Scratch data
|
|
scratch/
|
|
test_data/temp/
|
|
tmp/
|
|
|
|
# Rust build directory
|
|
target/
|
|
crates/lib/database_queries/target/
|
|
crates/lib/sqlite_queries/target/
|
|
|
|
# Javascript build directories
|
|
node_modules/
|
|
|
|
# Frontend build outputs
|
|
frontend/apps/artcraft/bundle-report.html
|
|
|
|
# Vim noise
|
|
*.swo
|
|
*.swp
|
|
*~
|
|
|
|
# IntelliJ/CLion/RustRover noise
|
|
.idea/
|
|
|
|
# Python noise
|
|
__pycache__/
|
|
|
|
# We use diesel for DB migrations only. We don't care about its codgen.
|
|
_ignored_schema.rs
|
|
|
|
# Diesel lock file
|
|
.diesel_lock
|
|
|
|
# AI Chat Sidecar has its own schema managed by diesel, but we don't care for diesel codegen.
|
|
crates/programs/aichatbot-sidecar/_ignored_schema.rs
|
|
|
|
# AI Chat sidecar's SQlite database shouldn't be checked in
|
|
crates/programs/aichatbot-sidecar/database.db
|
|
|
|
# Runtime data for the AI chatbot
|
|
runtime_data/
|
|
|
|
# Old Python virtual environments
|
|
models/Wav2Lip/python/
|
|
models/tacotron2/python/
|
|
|
|
# Stuff I want to keep around, but not commit
|
|
scraps/
|
|
|
|
# Mac nonsense
|
|
.DS_Store
|
|
|
|
# Windows build files
|
|
# These should be built by the platform
|
|
windows/sqlite/sqlite3.exp
|
|
windows/sqlite/sqlite3.lib
|
|
|
|
# ArtCraft Windows DLLs
|
|
crates/desktop/src-tauri/*.dll
|
|
windows_dlls/
|
|
|
|
|
|
# Portable local dev stack (script/bootstrap/windows) - MySQL/Redis binaries, data, logs
|
|
.devstack/
|