Skip to content

Commit 20ff53f

Browse files
Dan-Nolanclaude
andcommitted
Add Vercel deployment scripts and documentation
Added npm scripts: - npm run deploy - Deploy preview to Vercel - npm run deploy:prod - Deploy to production Added deployment section to README with: - Simple deployment commands - Instructions for setting up environment variables - Link to Vercel dashboard Makes deployment a single command for users. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3277685 commit 20ff53f

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,25 @@ npm run dev
7777

7878
Visit [http://localhost:3000](http://localhost:3000)
7979

80+
## Deployment
81+
82+
Deploy to [Vercel](https://vercel.com) with one command:
83+
84+
```bash
85+
npm run deploy
86+
```
87+
88+
Or deploy to production:
89+
90+
```bash
91+
npm run deploy:prod
92+
```
93+
94+
**After deploying**, make sure to set up your environment variables in the Vercel dashboard:
95+
1. Go to your project settings → Environment Variables
96+
2. Add all variables from `.env.example`
97+
3. Redeploy to apply changes
98+
8099
## How It Works
81100

82101
1. **Sign Up** - Users create an account with email/password

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"start": "next start",
77
"lint": "eslint .",
88
"db:push": "drizzle-kit push",
9+
"deploy": "vercel",
10+
"deploy:prod": "vercel --prod",
911
"rebalance": "tsx scripts/rebalance-users.ts",
1012
"prepare": "husky"
1113
},

0 commit comments

Comments
 (0)