Skip to content

Commit 1a78dc0

Browse files
Update contributing file with latest xata changes
1 parent 2f4e42a commit 1a78dc0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,23 @@ To use GitHub authentication in the project, you need to create a GitHub OAuth a
3838

3939
Xata is used as the database for this project. Follow these steps to set it up:
4040

41-
1. Sign up for a Xata account at https://xata.io/
42-
2. Install the Xata CLI globally:
41+
1. Sign up for a Xata account at https://lite.xata.io/
42+
2. Create a new workspace and database from Xata dashboard
43+
3. Install the Xata CLI globally:
4344
```sh
4445
npm install -g "@xata.io/cli@latest"
4546
```
46-
3. Authenticate with Xata:
47+
4. Authenticate with Xata:
4748
```sh
4849
xata auth login
4950
```
50-
4. Run the migration:
51+
5. Initialize the database:
5152
```sh
52-
xata push main
53+
xata init
54+
```
55+
5. Upload the database schema:
56+
```sh
57+
xata schema upload db-schema.json
5358
```
5459

5560
## Environment Variables

0 commit comments

Comments
 (0)