Code AI platform with Code Search & Cody
Go to file
2020-04-06 17:20:22 -07:00
.buildkite Track Puppeteer coverage (#9551) 2020-04-06 23:15:33 +02:00
.github add distribution tracking issue automation (#9598) 2020-04-06 12:59:14 -07:00
.storybook Improve changeset creation errors (#9416) 2020-04-01 12:33:49 +02:00
.vscode Remove TSLint (#9472) 2020-04-01 16:07:46 +02:00
browser Update dependency prettier to ^2.0.4 (#9582) 2020-04-06 21:20:43 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd Streamline symbols dev build (#9594) 2020-04-06 15:31:56 -05:00
dev codecov check diffs for at least 5% coverage (#9585) 2020-04-06 16:16:48 -07:00
doc doc/admin/observability/metrics: add FAQ entries (#9617) 2020-04-06 17:20:22 -07:00
docker-images generate Grafana dashboards and Prometheus alert rules from single source of truth (#9529) 2020-04-02 18:48:19 -07:00
enterprise Don't run e2e tests on master (#9615) 2020-04-06 16:14:27 -07:00
internal search: move query visitor to own file (#9568) 2020-04-06 12:37:14 -07:00
migrations Add visibility:[all|public|private] search filter (#9471) 2020-04-03 09:37:48 +02:00
observability observability: remove default values (#9537) 2020-04-06 12:34:18 -07:00
packages Update dependency typedoc to ^0.17.3 (#9478) 2020-04-03 02:20:38 +02:00
schema Enable selective tracing and update Jaeger site config schema (#9330) 2020-04-02 17:50:22 -07:00
shared Track Puppeteer coverage (#9551) 2020-04-06 23:15:33 +02:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Track Puppeteer coverage (#9551) 2020-04-06 23:15:33 +02:00
.dockerignore Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
.editorconfig Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.eslintrc.js Fix cancellation for GraphQL requests (#9031) 2020-03-16 18:32:37 +01:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore Update babel monorepo (#9211) 2020-03-22 22:31:42 +01:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.graphqlconfig prefer using the Prisma GraphQL VS Code extension (#5268) 2019-08-18 04:05:33 -07:00
.mailmap Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.mocharc.js Fix regressions in regression suite (#7894) 2020-01-20 09:22:30 -06:00
.nvmrc Update Node.js to v13.12.0 (#9431) 2020-04-01 12:29:42 +02:00
.prettierignore Remove the management console (#7197) 2019-12-16 21:30:51 -07:00
.stylelintignore Remove unused eslint disables (#9572) 2020-04-04 13:40:05 +02:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions ci: upgrade yarn to 1.22.4 (#9131) 2020-03-18 11:59:32 -07:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js Track Puppeteer coverage (#9551) 2020-04-06 23:15:33 +02:00
CHANGELOG.md Add visibility:[all|public|private] search filter (#9471) 2020-04-03 09:37:48 +02:00
CONTRIBUTING.md fix: update broken link to code of conduct (#7781) 2020-01-15 13:45:14 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod dev: install dlv and goreman outside of module (#9612) 2020-04-07 00:52:36 +02:00
go.sum dev: install dlv and goreman outside of module (#9612) 2020-04-07 00:52:36 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Fix copying integration assets (#7195) 2019-12-14 19:54:21 -05:00
jest.config.base.js Don't track test coverage of storybooks (#9283) 2020-03-24 21:48:42 +01:00
jest.config.js Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05: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 Track Puppeteer coverage (#9551) 2020-04-06 23:15:33 +02:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md local_development: remove unused plain http address (#9316) 2020-03-25 09:24:21 -07:00
renovate.json Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
tsconfig.json Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
yarn.lock Track Puppeteer coverage (#9551) 2020-04-06 23:15:33 +02:00

Sourcegraph

build apache license

Sourcegraph OSS edition is a fast, open-source, fully-featured code search and navigation engine. Enterprise editions are available.

Screenshot

Features

Try it yourself

Development

Prerequisites

  • Git
  • Go (1.13 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • 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 Enterprise. See the quickstart installation guide.

To use Sourcegraph OSS:

  1. Ensure Docker is running

  2. Initialize the PostgreSQL database

  3. Configure the HTTPS reverse proxy

  4. Start the development server

    ./dev/start.sh
    

Sourcegraph should now be running at https://sourcegraph.test:3443.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

The doc directory 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.