create-lps-foundry
v0.1.5
Published
Create new Foundry AI SaaS projects
Readme
create-lps-foundry
Create new Foundry AI SaaS projects from the command line.
Usage
npx create-lps-foundry my-app
# or
npm create lps-foundry my-appPrerequisites
- Node.js >= 20
- pnpm (install:
npm install -g pnpm) - GitHub CLI authenticated (
gh auth login) — or setGITHUB_TOKENenv var
What it does
- Downloads the Foundry monorepo template from GitHub
- Renames the project to your chosen name
- Removes template-specific files (CI config, docs, etc.)
- Installs dependencies via pnpm
- Initializes a fresh git repository
- Prints next steps to get you started
Authentication
The Foundry template is a private repository. The CLI detects your GitHub token automatically:
GITHUB_TOKENorGH_TOKENenvironment variable (for CI)gh auth tokenfrom the GitHub CLI (for local dev)
After creation
cd my-app
cp .env.example .env # Edit with your settings
pnpm services:up # Start Postgres, Redis, etc.
pnpm db:migrate && pnpm db:seed
pnpm run build # Build all packages and apps
pnpm dev # Start dev serverLicense
Private
