### Start Development Server Source: https://github.com/supergitsight/supergitsight/blob/main/README.md Start the local development server. Access the application at http://localhost:3000. ```bash npm run dev # open http://localhost:3000 ``` -------------------------------- ### Docker Compose Setup Source: https://github.com/supergitsight/supergitsight/blob/main/README.md Start the development environment using Docker Compose. This is an optional step for containerized local development. ```bash docker-compose up -d ``` -------------------------------- ### Clone and Install SuperGitSight Source: https://github.com/supergitsight/supergitsight/blob/main/README.md Clone the repository and install project dependencies using npm. This is the initial step for setting up the project locally. ```bash git clone https://github.com/supergitsight/supergitsight.git cd supergitsight npm install ``` -------------------------------- ### Copy Environment Variables Example Source: https://github.com/supergitsight/supergitsight/blob/main/README.md Copy the example environment variables file to a local configuration file. This sets up the base for your project's specific settings. ```bash cp .env.example .env.local ``` -------------------------------- ### Generate GraphQL Types and Prisma Client Source: https://github.com/supergitsight/supergitsight/blob/main/README.md Run the setup script to generate necessary GraphQL types and the Prisma client. This command prepares the project for database interactions. ```bash npm run setup ``` -------------------------------- ### Clone the SuperGitSight Repository Source: https://github.com/supergitsight/supergitsight/blob/main/CONTRIBUTING.md Clone the repository to your local machine to start contributing. This is the first step in the contribution process. ```bash git clone https://github.com/supergitsight/supergitsight.git cd supergitsight ``` -------------------------------- ### Database Migrations and Prisma Generation Source: https://github.com/supergitsight/supergitsight/blob/main/README.md Apply database migrations and generate the Prisma client. These commands ensure your database schema is up-to-date and the client is ready for use. ```bash npx prisma migrate dev npx prisma generate ``` -------------------------------- ### Configure Local Environment Variables Source: https://github.com/supergitsight/supergitsight/blob/main/README.md Update the .env.local file with your specific database, Redis, application URL, and GitHub token. Includes settings for authentication and optional AI providers. ```env DATABASE_URL="postgresql://user:password@localhost:5432/supergitsight" REDIS_URL="redis://localhost:6379" NEXT_PUBLIC_APP_URL="http://localhost:3000" GITHUB_TOKEN="your_github_personal_access_token" # Authentication BETTER_AUTH_SECRET="your_secret_key" BETTER_AUTH_URL="http://localhost:3000" # Optional: AI providers for advanced features GEMINI_API_KEY="your_gemini_api_key" ``` -------------------------------- ### Push Your Branch to Origin Source: https://github.com/supergitsight/supergitsight/blob/main/CONTRIBUTING.md Push your newly created branch with your committed changes to the remote repository. This makes your changes available for a pull request. ```bash git push origin feature/amazing-contribution ``` -------------------------------- ### Commit Your Changes Source: https://github.com/supergitsight/supergitsight/blob/main/CONTRIBUTING.md Commit your changes with a descriptive message. This records your modifications in the version history. ```bash git commit -m 'Add amazing contribution' ``` -------------------------------- ### Create a New Branch for Contributions Source: https://github.com/supergitsight/supergitsight/blob/main/CONTRIBUTING.md Create a new branch for your specific contribution. This helps keep your changes organized and separate from the main codebase. ```bash git checkout -b feature/amazing-contribution ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.