-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,3 @@ | ||
# Convex | ||
# Poker dance | ||
|
||
This example demonstrates the Convex global state management framework. | ||
|
||
## Deploy your own | ||
|
||
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example): | ||
|
||
[](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/convex&project-name=convex&repository-name=convex) | ||
|
||
## How to use | ||
|
||
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example: | ||
|
||
```bash | ||
npx create-next-app --example convex convex-app | ||
# or | ||
yarn create next-app --example convex convex-app | ||
# or | ||
pnpm create next-app --example convex convex-app | ||
``` | ||
|
||
Log in to Convex, | ||
|
||
```bash | ||
npx convex login | ||
``` | ||
|
||
initialize a new Convex project, | ||
|
||
```bash | ||
npx convex init | ||
``` | ||
|
||
and then run the following two commands in two different terminals: | ||
|
||
```bash | ||
npx convex dev | ||
``` | ||
|
||
```bash | ||
npm run dev | ||
``` | ||
|
||
Once everything is working, commit your code and deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). | ||
|
||
Use `npx convex deploy && npm run build` as the build command and set the `CONVEX_DEPLOY_KEY` environmental variable in Vercel ([Documentation](https://docs.convex.dev/getting-started/deployment/hosting/vercel)). | ||
Play poker without cards. A web clone of [Bold Poker](https://www.boldpoker.net). |
3a01a6a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
poker – ./
poker-git-main-visnup.vercel.app
poker.dance
poker-visnup.vercel.app