diff --git a/README.md b/README.md index 8378ded20..a2f74da90 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,23 @@ nano .env # Add OPENROUTER_API_KEY=sk-or-v1-... # 4. Start Aurora make prod-local + +# 5. Get Vault root token and add to .env +# Check the vault-init container logs for the root token: +docker logs vault-init 2>&1 | grep "Root Token:" +# You'll see output like: +# =================================================== +# Vault initialization complete! +# Root Token: hvs.xxxxxxxxxxxxxxxxxxxxxxxxxxxx +# IMPORTANT: Set VAULT_TOKEN=hvs.xxxxxxxxxxxxxxxxxxxxxxxxxxxx in your .env file +# to connect Aurora services to Vault. +# =================================================== +# Copy the root token value and add it to your .env file: +nano .env # Add VAULT_TOKEN=hvs.xxxxxxxxxxxxxxxxxxxxxxxxxxxx + +# 6. Restart Aurora to load the Vault token +make down +make prod-local ``` **That's it!** Open http://localhost:3000 in your browser. @@ -34,13 +51,7 @@ make prod-local - `client/` Next.js frontend - `docker-compose.yaml` local stack (postgres, redis, weaviate, vault, seaweedfs) -## Quickstart -Requirements: Docker with the Compose plugin. -```bash -cp .env.example .env -make dev -``` Open http://localhost:3000 (API: http://localhost:5080, Chatbot WS: ws://localhost:5006) diff --git a/client/src/lib/feature-flags.ts b/client/src/lib/feature-flags.ts index a9f00ee74..d247ecb4a 100644 --- a/client/src/lib/feature-flags.ts +++ b/client/src/lib/feature-flags.ts @@ -18,3 +18,7 @@ export const isSlackEnabled = () => { export const isConfluenceEnabled = () => { return process.env.NEXT_PUBLIC_ENABLE_CONFLUENCE === 'true'; }; + +export const isScalewayEnabled = () => { + return process.env.NEXT_PUBLIC_ENABLE_SCALEWAY === 'true'; +}; \ No newline at end of file