everyapp
v0.1.8
Published
Every App CLI - Deploy and manage apps.
Downloads
70
Readme
everyapp
CLI for Every App - deploy and manage self-hosted apps on Cloudflare.
Installation
# Run directly with npx
npx everyapp <command>
# Or install globally
npm install -g everyappCommands
Deploy the Gateway
Deploy the Every App Gateway to your Cloudflare account:
npx everyapp gateway deployCreate a new app
Create a new app from the starter template:
npx everyapp 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 everyapp 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 everyapp 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 everyapp app remote-d1-shell -- <command>Examples:
# Run migrations
npx everyapp app remote-d1-shell -- npx drizzle-kit migrate
# Open Drizzle Studio
npx everyapp app remote-d1-shell -- npx drizzle-kit studioDocumentation
For full documentation, visit everyapp.dev/docs.
