Skip to content

Commit

Permalink
Improve deployment instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
s-h-a-d-o-w committed Nov 7, 2024
1 parent 2472c8d commit d63753b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Install, test, deploy
run: |
pnpm install --frozen-lockfile
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ I'm using relatively few dependencies that front-end engineers are likely famili
- A GitHub OAuth app (provides ID and SECRET values for `.env`)
- ChatGPT API key

## Getting started (vercel/docker)
## Getting started

- Add secrets either on vercel or in your docker environment based on `.env.schema`
- Deploy 🚀
- Add secrets to whatever environment you will run this in based on `.env.schema`.
- (At least with the combination of CapRover and cloudflare for HTTPS, it is necessary to tick "WebSocket support" in the app settings in CapRover for streaming to work. I don't know why, since that is done via fetch, not websockets but that's what I've observed.)
- Deploy like any node app. 🚀 (See `Dockerfile`, `deploy.sh` and the github workflow for inspiration if you're not using a platform that automatically does these things for you.)

## Getting started (dev)

Expand Down

0 comments on commit d63753b

Please sign in to comment.