“
Follow these steps to set up an environment variable which tells Confluence where to find Java: Inside the {CONFLUENCE_INSTALL} directory, go to the bin directory and find the setenv.sh file. Open the setenv.sh file in TextEdit. Add the following line as the first line of the file: export JAVA_HOME=/Library/Java/Home Save the file.
”
”
Sarah Maddox (Confluence, Tech Comm, Chocolate: A Wiki as Platform Extraordinaire for Technical Communication)
“
From the next chapter onwards, we will assume that the API key is stored in the environment variable OPENAI_API_KEY. Please set it up in your terminal beforehand. export OPENAI_API_KEY="sk-f30232pjhf0oqahfefujikofnaljf...
”
”
ML Bear (Build and Learn: AI App Development for Beginners: Unleashing ChatGPT API with LangChain & Streamlit)