Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.01 KB

INSTALLATION.md

File metadata and controls

50 lines (32 loc) · 1.01 KB

Quick Installation for PersonaTokens

Firstly, install dependencies:

npm install
# or
yarn

Creating the .env file:

1. Copy the .env.example file to .env file.

cp .env.example .env

2. Fill out the missing secrets.

a. OpenAI API key

Visit https://platform.openai.com/account/api-keys to get your OpenAI API key for the language model.

b. Replicate API key

Visit https://replicate.com/account/api-tokens to get your Replicate API key for your language model.

c. Pinecone API key

Visit https://app.pinecone.io/ to get your Pinecone API key for your language model.

d. Upstash API key

Visit https://upstash.com/ to get your Upstash API key for your language model.

e. Cloudinary API key

Visit https://cloudinary.com/ to get your Upstash API key for your language model.

f. MySQL Database URL Get your local or cloud MySQL database url

Run app locally:

npm run dev
# or
yarn dev

Open http://localhost:3000.