Code search and intelligence, self-hosted and scalable
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 langserver: Use docker events instead of aggressive polling (#393) Oct 15, 2018
dev pre-commit and pre-push hook to prevent accidental enterprise pushes Oct 16, 2018
docs Remove vendor (#379) Oct 15, 2018
migrations Revert "Revert "feat: support hooks for billing/subscriptions"" Oct 2, 2018
pkg Remove vendor (#379) Oct 15, 2018
schema Remove vendor (#379) Oct 15, 2018
src move panel header close button to top (#406) Oct 16, 2018
ui/assets Combine marketing and product homepage (#156) Oct 5, 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
.huskyrc.json pre-commit and pre-push hook to prevent accidental enterprise pushes Oct 16, 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 docs: update changelog and latest docker image version to 2.12.0 (#401) Oct 15, 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 Remove vendor (#379) Oct 15, 2018
go.sum Remove vendor (#379) Oct 15, 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 package.json: add husky Oct 16, 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 package.json: add husky Oct 16, 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: