steakunderscore / sourcegraph

Code search and navigation tool (self-hosted)

Home Page:https://sourcegraph.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sourcegraph

build apache license

Sourcegraph is a fast, open-source, fully-featured code search and navigation engine.

Screenshot

Features

Try it yourself

Development

Prerequisites

  • Git
  • Go (1.11 or later)
  • Docker
  • PostgreSQL (version 9)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn
  • Nginx

For a detailed guide to installing prerequisites, see these instructions.

Installation

Prebuilt Docker images are the fastest way to use Sourcegraph. See the quickstart installation guide.

  1. Ensure Docker is running

  2. Initialize the PostgreSQL database

  3. Start the development server

    ./dev/launch.sh
    

Sourcegraph should now be running at http://localhost:3080.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

The docs folder has additional documentation for developing and understanding Sourcegraph:

License

Sourcegraph OSS is available freely under the Apache 2 license. Sourcegraph OSS comprises all files in this repository except those in the enterprise/ and web/src/enterprise directories.

All files in the enterprise/ and web/src/enterprise/ directories are subject to the Sourcegraph Enterprise license.

About

Code search and navigation tool (self-hosted)

https://sourcegraph.com

License:Other


Languages

Language:HTML 73.0%Language:Go 13.9%Language:TypeScript 12.1%Language:CSS 0.6%Language:Shell 0.2%Language:Dockerfile 0.1%Language:PLpgSQL 0.0%Language:JavaScript 0.0%Language:TSQL 0.0%Language:Python 0.0%Language:Assembly 0.0%Language:PLSQL 0.0%Language:SQLPL 0.0%Language:Makefile 0.0%