Code AI platform with Code Search & Cody
Go to file
2019-07-04 15:31:59 +02:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github update CODEOWNERS (#4770) 2019-07-02 10:08:35 -07: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 Only package relevant browser extension files (#4767) 2019-07-04 11:57:54 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd repo-updater: Improve performance when calculating notClonedCount (#4801) 2019-07-04 13:59:15 +02:00
dev Revert "authz: Instrument Bitbucket Server ACLs code paths with tracing (#4642)" (#4678) 2019-06-25 15:13:09 -07:00
doc Release Sourcegraph v3.5.1 and v3.4.5 (#4784) 2019-07-02 19:10:31 -07:00
docker-images ci: Move Docker labels declaration inside Dockerfile (#2813) 2019-03-18 17:49:29 -07:00
enterprise refactor CI pipeline generation script (#4701) 2019-07-02 10:08:19 -07: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 repo-updater: Improve performance when calculating notClonedCount (#4801) 2019-07-04 13:59:15 +02:00
schema Release Sourcegraph v3.5.1 and v3.4.5 (#4784) 2019-07-02 19:10:31 -07:00
shared expose EditorService#{editorsWithModels,observeEditorAndModel} (#4546) 2019-07-02 21:40:59 -07:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web use conventional opaque (base64-encoded) GraphQL IDs for Discus… (#4465) 2019-07-04 01:42:23 -07: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 fix unicode highlighting in commit searches (#4680) 2019-07-03 11:01:13 -07: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 golang.org/x/sys commit hash to 04f50cd 2019-07-01 09:09:52 +00:00
go.sum expose EditorService#{editorsWithModels,observeEditorAndModel} (#4546) 2019-07-02 21:40:59 -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 Update dependency utc-version to ^2.0.1 (#4743) 2019-07-04 15:31:59 +02: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 renovate: Add label "bot" to PRs (#4748) 2019-07-01 14:57:57 +02: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 Update dependency utc-version to ^2.0.1 (#4743) 2019-07-04 15:31:59 +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
  • 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.