Installation
To get started with Lumentis, follow these simple steps:
Step 1: Install Node.js
Lumentis is built on Node.js, so you'll need to have it installed on your system. You can download the latest version of Node.js from the official website (opens in a new tab).
Step 2: Clone the Lumentis Repository
Open a terminal or command prompt and navigate to the directory where you want to install Lumentis. Then, run the following command to clone the repository:
git clone https://github.com/hrishioa/lumentis.gitStep 3: Install Dependencies
Once you've cloned the repository, navigate into the lumentis directory and run the following command to install the required dependencies:
npm installThis will install all the necessary packages and libraries needed to run Lumentis.
If you prefer to use a different package manager like Yarn or Pnpm, you can substitute the corresponding command (e.g., yarn install or pnpm install).
Step 4: Set up Environment Variables
Lumentis uses an Anthropic API key to interact with the language model. You'll need to set this up in your environment. You can do this by creating a .env file in the root of the Lumentis directory and adding the following line:
ANTHROPIC_API_KEY=your_api_key_hereReplace your_api_key_here with your actual Anthropic API key.
Make sure to keep your API key secure and never share it publicly.
And that's it! You're now ready to start using Lumentis. Head over to the Running Lumentis section to learn how to generate your documentation.