Code AI platform with Code Search & Cody
Go to file
renovate[bot] 0d1aca02a7
Update dependency @types/signale to v1.4.1 (#9446)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-03 00:33:34 +02:00
.buildkite ci: remove e2e test bottleneck (#9322) 2020-04-02 11:40:27 -07:00
.github authz: merge PermsFetcher into Provider interface (#9505) 2020-04-03 00:19:35 +08: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 Respect the revision when jumping to Sourcegraph from GitHub (#9520) 2020-04-03 00:21:24 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd Update jest monorepo to ^25.2.6 (#9482) 2020-04-03 00:23:44 +02:00
dev ci: remove e2e test bottleneck (#9322) 2020-04-02 11:40:27 -07:00
doc Update non-git code host, src-expose, and Perforce docs (#9246) 2020-04-02 15:02:18 -07:00
docker-images Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
enterprise extsvc: remove External prefix from types (#9512) 2020-04-03 00:49:32 +08:00
internal ci: remove e2e test bottleneck (#9322) 2020-04-02 11:40:27 -07:00
migrations LSIF: Implement dump manager process (#9179) 2020-03-23 20:58:35 -05:00
packages Remove TSLint (#9472) 2020-04-01 16:07:46 +02:00
schema Document which GitHub token scopes are required (#9399) 2020-03-30 17:16:40 +02:00
shared Respect the revision when jumping to Sourcegraph from GitHub (#9520) 2020-04-03 00:21:24 +02:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Fix TS3.9 errors and bugs (#9486) 2020-04-03 00:14:34 +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
.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 Rename lsif-server to precise-code-intel (#9376) 2020-03-31 15:59:13 -05:00
CHANGELOG.md Remove scoped search bar from TreePage, scope global query to the current tree or file instead (#9225) 2020-04-01 16:53:17 +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 gomod: bump zoekt (#9488) 2020-04-02 09:25:00 +02:00
go.sum authz: merge PermsFetcher into Provider interface (#9505) 2020-04-03 00:19:35 +08: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 Update dependency @types/signale to v1.4.1 (#9446) 2020-04-03 00:33:34 +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 Update dependency @types/signale to v1.4.1 (#9446) 2020-04-03 00:33:34 +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.