Code search and intelligence, self-hosted and scalable
Clone or download
Permalink
Failed to load latest commit information.
.github Publish Sourcegraph as open source πŸš€ Oct 1, 2018
.vscode Publish Sourcegraph as open source πŸš€ Oct 1, 2018
client/contrib Publish Sourcegraph as open source πŸš€ Oct 1, 2018
cmd all: Move common config InsecureDev to env pkg Oct 14, 2018
dev dev: Override docker server image tag with TAG Oct 9, 2018
docs yarn run prettier Oct 9, 2018
migrations Revert "Revert "feat: support hooks for billing/subscriptions"" Oct 2, 2018
pkg all: Move common config InsecureDev to env pkg Oct 14, 2018
schema docs: improve descriptions of extension manifest fields (#365) Oct 11, 2018
src fix: refresh list of extensions when viewing a repository (#378) Oct 12, 2018
ui/assets Combine marketing and product homepage (#156) Oct 5, 2018
vendor all: Use go-lsp instead of go-langserver/pkg/lsp Oct 10, 2018
xlang all: Use go-lsp instead of go-langserver/pkg/lsp Oct 10, 2018
.editorconfig Publish Sourcegraph as open source πŸš€ Oct 1, 2018
.gitattributes Publish Sourcegraph as open source πŸš€ Oct 1, 2018
.gitignore Publish Sourcegraph as open source πŸš€ Oct 1, 2018
.gitmodules Publish Sourcegraph as open source πŸš€ Oct 1, 2018
.mailmap Publish Sourcegraph as open source πŸš€ Oct 1, 2018
.prettierignore Publish Sourcegraph as open source πŸš€ Oct 1, 2018
.stylelintrc.json Publish Sourcegraph as open source πŸš€ Oct 1, 2018
CHANGELOG.md CHANGELOG: mention code discussions rate limiting Oct 11, 2018
CONTRIBUTING.md docs: add CONTRIBUTING + open-source FAQ (#178) Oct 1, 2018
LICENSE Publish Sourcegraph as open source πŸš€ Oct 1, 2018
README.md Update README.md Oct 5, 2018
babel.config.js Publish Sourcegraph as open source πŸš€ Oct 1, 2018
doc.go Publish Sourcegraph as open source πŸš€ Oct 1, 2018
go.mod all: Use go-lsp instead of go-langserver/pkg/lsp Oct 10, 2018
go.sum all: Use go-lsp instead of go-langserver/pkg/lsp Oct 10, 2018
graphql-schema-linter.config.js Publish Sourcegraph as open source πŸš€ Oct 1, 2018
gulpfile.ts Ensure typings tasks are done before starting TypeScript tasks Oct 2, 2018
package.json Revert "Update dependency puppeteer to ~1.9.0" Oct 7, 2018
postcss.config.js Publish Sourcegraph as open source πŸš€ Oct 1, 2018
prettier.config.js Publish Sourcegraph as open source πŸš€ Oct 1, 2018
renovate.json build: renovate shouldn't automerge at this time (#282) Oct 5, 2018
tsconfig.dist.json Publish Sourcegraph as open source πŸš€ Oct 1, 2018
tsconfig.json Publish Sourcegraph as open source πŸš€ Oct 1, 2018
tsconfig.test.json Publish Sourcegraph as open source πŸš€ Oct 1, 2018
tslint.json Publish Sourcegraph as open source πŸš€ Oct 1, 2018
webpack.config.ts Publish Sourcegraph as open source πŸš€ Oct 1, 2018
yarn.lock Revert "Update dependency puppeteer to ~1.9.0" Oct 7, 2018

README.md

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

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

Installation

  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: