Skip to content

Commit d9a40c9

Browse files
Merge pull request #208 from geeknees/add-xata-doc
Add build step for Xata
2 parents cde9b1a + a8e5ceb commit d9a40c9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,28 @@ Start the server
4545
pnpm dev
4646
```
4747

48+
### Setup Xata
49+
50+
You will need to sign up with Xata and set up a database for the build. After registering for an account, please proceed with the following steps.
51+
52+
#### Installation
53+
54+
```
55+
npm install -g @xata.io/cli@latest
56+
```
57+
#### Authentication
58+
```
59+
xata auth login
60+
```
61+
62+
#### Migration
63+
64+
Change DB settings in xata.ts and .xatarc (do not commit this) and run migration
65+
66+
```
67+
xata push main
68+
```
69+
4870
## Tech Stack
4971

5072
- [Next.js](https://nextjs.org/)

0 commit comments

Comments
 (0)