Skip to content

weyseing/gemini-cli

Repository files navigation

Alt text

Setup Guide

  • Set workspace/project path for Gemini to work on

    • Set GEMINI_WORKSPACE_DIR=<YOUR PROJECT PATH> in ~/.bash_profile
  • Get Gemini API key

Alt text Alt text

  • Copy .env.example to .env and fill up env below.

    • For general or coding use:
      • GEMINI_API_KEY
      • GIT_EMAIL
      • GIT_USERNAME
    • For database use:
      • DB1_ENDPOINT
      • DB1_PORT
      • DB1_USER
      • DB1_PASS
      • DB1_DATABASE_NAME
  • Create Docker network

    • docker network create global-net
  • Add Docker network to any Datbase docker-compose.yml configuration

    services:
      DB_Container:
          # --- add below ---
          networks:
            global-net:
    
          networks:
            global-net:
              external: true
  • Start up

    • docker compose up -d
    • docker exec -it gemini_cli bash *** Notes: May take some times to load up CLI

Alt text

  • Check available MCP tools via /mcp command

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published