@chittyos/standard-installer
v1.0.1
Published
ChittyOS Standard Framework Installer - Automated setup for ChittyApps integration
Maintainers
Readme
ChittyOS Standard Framework Installer
Official installer for the ChittyOS Standard Framework - a comprehensive integration platform for ChittyApps ecosystem.
Overview
The ChittyOS Standard Framework provides a unified foundation for building and integrating ChittyApps applications. It includes shared dependencies, UI components, utilities, and seamless integration capabilities.
Features
- Unified Dependencies: Centralized management of all common dependencies
- Shared UI Components: Pre-built Radix UI and shadcn/ui components
- Framework Integration: Seamless integration between multiple ChittyApps
- Database Support: Built-in PostgreSQL/Neon database configuration
- Authentication: Ready-to-use authentication system
- Docker Support: Optional containerization configuration
Installation
Quick Install
npx @chittyos/standard-installerOr with npm:
npm install -g @chittyos/standard-installer
chitty-installManual Installation
- Clone the installer:
git clone https://github.com/ChittyOS/standard-installer.git
cd chittystandard-installer
npm install- Run the installer:
npm run install-standardInstallation Options
Framework Levels
- Minimal: Core dependencies only (no apps)
- Standard (Recommended): Essential apps (ChittyResolution, ChittyChronicle)
- Professional: Full legal suite (5 apps)
- Enterprise: Complete ecosystem (all 8+ apps)
- Custom: Select specific apps to install
Available ChittyApps
| App | Description | Category | |-----|-------------|----------| | ChittyResolution | Dispute resolution & case management | Legal | | ChittyChronicle | Timeline management & litigation support | Legal | | ChittyEvidence | Evidence tracking & verification | Legal | | ChittyFlow | Workflow automation & process management | Automation | | ChittyIntel | AI-powered legal intelligence & analysis | Intelligence | | ChittyTrace | Document processing & litigation support | Legal | | ChittyCloude | Universal cloud deployment (Cloudflare, Vercel, etc.) | Deployment | | Contradiction Engine | Logic analysis & contradiction detection | Analysis |
Configuration
Environment Variables
Create a .env file in your project root:
DATABASE_URL=postgresql://user:password@localhost:5432/chittydb
SESSION_SECRET=your-secret-key
VITE_API_URL=http://localhost:3000ChittyOS Config
The installer creates src/chitty.config.ts with your selected configuration:
export const chittyConfig = {
framework: 'standard',
version: '1.0.0',
apps: ['chittyresolution', 'chittychronicle'],
features: {
database: true,
authentication: true,
docker: false
}
};Project Structure
my-chittyapp/
├── src/
│ ├── chitty.config.ts # Framework configuration
│ ├── auth/ # Authentication setup
│ ├── db/ # Database schema
│ └── components/ # Your components
├── public/
├── package.json
├── tsconfig.json
├── vite.config.ts
├── tailwind.config.js
├── drizzle.config.ts # Database config
└── docker-compose.yml # Optional Docker setupCommands
Check Dependencies
npm run check-depsDevelopment
npm run devBuild
npm run buildType Checking
npm run typecheckLinting
npm run lintShared Dependencies
The ChittyOS Standard Framework includes:
- UI Framework: React 18, TypeScript 5
- Styling: Tailwind CSS, CSS-in-JS
- Components: Radix UI, shadcn/ui, Lucide icons
- State Management: Zustand, React Query
- Forms: React Hook Form, Zod validation
- Database: Drizzle ORM, PostgreSQL/Neon
- Utilities: date-fns, nanoid, clsx
System Requirements
- Node.js 18.0.0 or higher
- npm 9.0.0 or higher (or yarn/pnpm)
- Git 2.0.0 or higher
- PostgreSQL 14+ (if using database features)
Troubleshooting
Installation Fails
- Check system requirements:
node --version # Should be >= 18.0.0
npm --version # Should be >= 9.0.0- Clear npm cache:
npm cache clean --force- Try with different package manager:
yarn create @chittyos/app
# or
pnpm create @chittyos/appDatabase Connection Issues
- Verify PostgreSQL is running:
psql --version- Check connection string in
.env - Run database migrations:
npm run db:pushMissing Dependencies
If a ChittyApp fails to install:
npm install @chittyapps/[app-name] --saveSupport
- Documentation: https://docs.chittyos.com
- Issues: GitHub Issues
- Discord: ChittyOS Community
License
MIT © ChittyOS
Contributing
Contributions are welcome! Please read our Contributing Guide for details.
Built with ❤️ by the ChittyOS Team
