Environment Variable Setup
This guide will walk you through setting up the environment variables for the AIDBQuery
on the Linux machine. Environment variables are dynamic-named values that affect the way processes behave on a computer. They are part of the environment in which a process runs.
Prerequisites
- Previous steps
Guides
tip
An environment variable blue-print was provided on the root
directory, ./env
. Please fill-in the necessary values. Or your can directly configure it on the runtime. ⚠️ Please do not modify the variable names.
Environment Variable Information
.evn
file is a plain text file that contains key-value pairs of the environment variables. Each key-value pair is separated by an equal sign =
. The key-value pair is separated by a new line.
Variable Names | Type | Description | Example |
---|---|---|---|
DATABASE_URL | string |
| mysql://<username>:<password>@localhost:3306/<database name> |
OPENAI_API_KEY | string |
| sk-************2i6TMaabqyT3BlbkFJDwQu6******* |
STRIPE_SECRET_KEY | string |
| sk_*********IQUNm2q9BcmT40i5w4XEOu8g**** |
STRIPE_WEBHOOKS_SECRET | string |
| whsec_******2791f47b154600323acd***** |
STRIPE_PRICE_ID | string |
| price_****bSGhxFjEvH**** |
PINECONE_API_KEY | string |
| 6c4f0549-*****-82d3-013a6**** |
PINECONE_INDEX | string |
| aipdfquery |
NEXTAUTH_URL | string |
| http://domainname.com |
NEXTAUTH_SECRET | string |
| 3f9f053b-6604-47d7-b84a-4a3ad1505b0c |
Setting up Environment Variables
Edit the .env
file in the root directory with FileZilla.
Resources: