Code AI platform with Code Search & Cody
Go to file
2018-10-19 02:23:20 -07:00
.github Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.vscode Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
client/contrib Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
cmd reword 2018-10-19 01:41:39 -07:00
dev fix dev/launch.sh for enterprise 2018-10-17 18:28:36 -07:00
doc add product roadmap 2018-10-19 02:23:20 -07:00
migrations Revert "Revert "feat: support hooks for billing/subscriptions"" 2018-10-02 12:10:20 -07:00
pkg updating maxReposToSearch no longer requires server restart (#451) 2018-10-18 23:19:47 -07:00
schema Remove vendor (#379) 2018-10-15 11:27:49 +02:00
src add docs to this repo, show them at /help (#421) 2018-10-17 13:34:24 -07:00
ui/assets Combine marketing and product homepage (#156) 2018-10-04 17:31:30 -07:00
xlang all: Use go-lsp instead of go-langserver/pkg/lsp 2018-10-10 12:36:06 +02:00
.editorconfig Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.gitattributes Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.gitignore gitignore vendor 2018-10-17 10:44:01 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.huskyrc.json Prepended "bash " to scripts in .huskyrc.json (#441) 2018-10-18 08:38:07 -07:00
.mailmap Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.prettierignore add product roadmap 2018-10-19 02:23:20 -07:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
babel.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
CHANGELOG.md updating maxReposToSearch no longer requires server restart (#451) 2018-10-18 23:19:47 -07:00
CONTRIBUTING.md docs: add CONTRIBUTING + open-source FAQ (#178) 2018-10-01 15:10:43 -07:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod add docs to this repo, show them at /help (#421) 2018-10-17 13:34:24 -07:00
go.sum go mod tidy 2018-10-18 10:38:29 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.ts Use shell: true when spawning tsc 2018-10-16 13:19:31 +02:00
LICENSE Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
package.json Update gql2ts (#431) 2018-10-17 21:35:10 +02:00
postcss.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md use relative path in links 2018-10-18 23:58:56 -07:00
renovate.json build: renovate shouldn't automerge at this time (#282) 2018-10-04 19:11:51 -07:00
tsconfig.dist.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
tsconfig.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
tsconfig.test.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
tslint.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
webpack.config.ts Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
yarn.lock Update gql2ts (#431) 2018-10-17 21:35:10 +02:00

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: