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
// Only a script | |
// If you need to add documents as well | |
import { PrismaClient, Recipe } from '@prisma/client'; | |
import { MeiliSearch } from 'meilisearch' | |
;(async () => { | |
const client = new MeiliSearch({ | |
host: 'MEILISEARCH_API_URL', | |
apiKey: 'MEILISEARCH_ADMIN_API_KEY', |
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
npx expo start --go |
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
// Install vercel cli | |
// npm i -g vercel | |
// log into vercel cli then run this file | |
const { exec } = require("child_process"); | |
exec("vercel project ls", (error, stdout, stderr) => { | |
if (error) { | |
console.log(`error: ${error.message}`); | |
return; |