everyapp
v0.2.2
Published
Every App CLI - Deploy and manage apps.
Readme
everyapp
CLI for Every App - deploy and manage self-hosted apps on Cloudflare.
Installation
# Run the latest CLI directly with npx
npx -y everyapp@latest <command>Commands
Deploy the Gateway
Deploy the Every App Gateway to your Cloudflare account:
npx -y everyapp@latest gateway deployCreate a new app
Create a new app from the starter template:
npx -y everyapp@latest app create [name]This will:
- Prompt for an app ID (or use the provided name)
- Deploy to Cloudflare (D1 database, KV namespace, Worker)
- Configure wrangler.jsonc, package.json, and .env files
- Install dependencies and run local migrations
Deploy an app
Deploy your app to Cloudflare:
npx -y everyapp@latest app deployRun this from your app directory to build and deploy updates.
Set up local environment
Set up local development for an existing Every App app (for example, after cloning a repo):
npx -y everyapp@latest app setup-localThis will:
- Verify Cloudflare and gateway setup
- Install dependencies
- Create or refresh
.env.local - Generate Cloudflare types and run local migrations
Remote D1 shell
Run commands with access to your production D1 database:
npx -y everyapp@latest app remote-d1-shell -- <command>Examples:
# Run migrations
npx -y everyapp@latest app remote-d1-shell -- npx drizzle-kit migrate
# Open Drizzle Studio
npx -y everyapp@latest app remote-d1-shell -- npx drizzle-kit studioDocumentation
For full documentation, visit everyapp.dev/docs.
