- Copy the env.template file to create a new .env file.
cp env.template .env
- Open the .env file in a text editor and enter your API keys.
vim .env
- Input your OpenAI API Key to OPENAI_API_KEY
OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxx
- Create Line Channel Access Token
LINE_CHANNEL_ACCESS_TOKEN="channel access token"
- Input your Google Custom Search ID to GOOGLE_CSE_ID and Google Custom Search API Key to GOOGLE_API_KEY
GOOGLE_CSE_ID=xxxxxxxxxxxxxxxxxxx
GOOGLE_API_KEY=xxxxxxxxxxxxxxxxxxx
yarn
sls deploy --stage dev