Running Locally¶
You can run Lunaar locally or on a server by following these steps:
Prerequisites¶
- Node.js 22
- PNPM
- (Optional) Groq API key for Luna AI
Step 1: Clone the Repository¶
git clone https://github.com/Parcoil/lunaar.org
cd lunaar.org
Step 1.5: Install PNPM (if not already installed)¶
If you already have PNPM installed, skip to Step 2.
npm install -g pnpm@latest
Step 2: Install Dependencies¶
pnpm install
Step 3: Start Lunaar¶
pnpm start
Setting up Luna AI¶
1. Get a Groq API Key¶
- Visit Groq Console
- Sign up or log in to your account
- Navigate to API Keys section
- Create a new API key
- Copy the API key (it starts with
gsk_
)
2. Configure Environment Variables¶
Create a .env
file in your project root with:
GROQ_API_KEY=your_actual_groq_api_key_here
Updating Lunaar¶
To keep Lunaar up to date (highly recommended to run once a week):
cd lunaar.org
git pull