Code AI platform with Code Search & Cody
Go to file
2019-07-01 08:14:08 +00:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github Proper TSLint Extends (#4635) 2019-06-21 15:11:45 +02:00
.storybook Update to core-js 3 (#4472) 2019-06-12 21:11:36 +02:00
.vscode omit management-console assets from VS Code search results (#4529) 2019-06-16 03:56:41 -07:00
browser Bitbucket server integration (#4686) 2019-06-28 15:19:08 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd graphqlbackend: DisableCache in BenchmarkSearchResults (#4698) 2019-06-28 16:45:19 +02:00
dev Revert "authz: Instrument Bitbucket Server ACLs code paths with tracing (#4642)" (#4678) 2019-06-25 15:13:09 -07:00
doc docs: heading and TOC fixes (#4705) 2019-06-28 17:33:22 -07:00
docker-images ci: Move Docker labels declaration inside Dockerfile (#2813) 2019-03-18 17:49:29 -07:00
enterprise schema: Validate GH & BBS config have repos OR repositoryQuery (#4685) 2019-06-28 14:06:34 +02:00
migrations authz: Bitbucket Server ACLs caching (#4493) 2019-06-14 18:45:50 +02:00
packages remove unused and incorrect non-top-level .vscode dirs (#4487) 2019-06-13 11:33:30 -07:00
pkg dbtesting: Only show "truncating" log if testing.Verbose (#4700) 2019-06-28 18:27:27 +02:00
schema schema: Validate GH & BBS config have repos OR repositoryQuery (#4685) 2019-06-28 14:06:34 +02:00
shared fix background color on ref/def results snippets (#4665) 2019-06-26 04:29:41 -07:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Bitbucket server integration (#4686) 2019-06-28 15:19:08 +02:00
.dockerignore server: Use Dockerfile and build script instead of godockerize (#1971) 2019-01-21 14:07:29 +02:00
.editorconfig Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.eslintrc.js use eslint rules for React hooks (#4486) 2019-06-15 01:06:25 -07:00
.gitattributes repo-updater: Collapse testdata files in PRs (#3999) 2019-05-15 10:26:45 +02:00
.gitignore add envrc to gitignore (#4628) 2019-06-20 16:21:23 -07:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.mailmap Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.prettierignore mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js Update to core-js 3 (#4472) 2019-06-12 21:11:36 +02:00
CHANGELOG.md schema: Validate GH & BBS config have repos OR repositoryQuery (#4685) 2019-06-28 14:06:34 +02:00
CONTRIBUTING.md fix: broken link to code of conduct in CONTRIBUTING.md (#1230) 2018-12-04 14:14:41 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod update zoekt to version with multiline fix (#4520) 2019-06-14 15:26:15 -07:00
go.sum update zoekt to version with multiline fix (#4520) 2019-06-14 15:26:15 -07:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.ts Bitbucket server integration (#4686) 2019-06-28 15:19:08 +02:00
jest.config.base.js mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
jest.config.js mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
LICENSE clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.apache clarify license (#2543) 2019-03-03 16:39:46 +08:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json Pin dependency @types/react-hot-loader to 4.1.0 2019-07-01 08:14:08 +00:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md mention prebuilt Docker images (#3010) 2019-04-12 00:01:22 -07:00
renovate.json Remove Renovate includePaths: enterprise 2018-11-06 16:12:08 +01:00
tsconfig.json Update dependency @sourcegraph/prettierrc to v3 (#3974) 2019-05-13 13:17:09 -07:00
tslint.config.js Proper TSLint Extends (#4635) 2019-06-21 15:11:45 +02:00
yarn.lock Pin dependency @types/react-hot-loader to 4.1.0 2019-07-01 08:14:08 +00: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
  • 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.