@hazydawn0703/create-finance-app
v0.1.0
Published
StratOS finance installer CLI (from-source + docker-compose onboarding)
Downloads
228
Readme
@hazydawn0703/create-finance-app
Create and bootstrap a local StratOS Finance app from npm.
This README is for npm package users (not monorepo contributors).
Requirements
- Node.js >= 20
- git
- pnpm or npm
- docker (only for
--mode docker-compose)
Quick start
npx @hazydawn0703/create-finance-app --helpDefault install (from-source):
npx @hazydawn0703/create-finance-appDocker Compose install:
npx @hazydawn0703/create-finance-app --mode docker-composeUsage
npx @hazydawn0703/create-finance-app [options]Options:
--mode <from-source|docker-compose>Install mode (default:from-source)--repo <git-url>Repo URL (default:https://github.com/hazydawn0703/StratOS.git)--dir <path>Target directory (default:./stratos-finance)--port <number>Finance web port (default:4310)--dry-runPrint actions without executing--helpShow help
Repo override:
- If
--repois not passed, you can override with env var:
STRATOS_REPO_URL=<your-fork-url> npx @hazydawn0703/create-finance-appReal behavior by mode
--mode from-source (supported)
- Clone StratOS repo into
--dir. - Install dependencies.
- Run finance setup command.
- Print next steps and setup URL.
--mode docker-compose (supported)
- Clone StratOS repo into
--dir. - Prepare
.envfrom cloned.env.example. - Run
docker compose up -din cloned repo. - Print next steps and setup URL.
Notes
- Installer expects
--dirto be empty (or not existing). - Setup wizard and runtime configuration are handled by
apps/financeitself after install.
