Code AI platform with Code Search & Cody
Go to file
2020-03-27 11:36:13 -05:00
.buildkite e2e: add reasonable timeout for each build step (#9319) 2020-03-25 10:33:49 -07:00
.github Rename and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
.storybook More optional chaining (#6891) 2019-11-27 16:20:11 +01:00
.vscode Rename and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
browser Display sign in buttons in code view toolbar (#9275) 2020-03-25 10:01:43 +01:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd Rename and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
dev Rename and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
doc Rename and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
docker-images LSIF: Rename lsif-dump-processor to lsif-worker (#9257) 2020-03-26 16:42:19 -05:00
enterprise Rename and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
internal conf: start watching config on first conf call (#9307) 2020-03-26 09:08:19 +02:00
migrations LSIF: Implement dump manager process (#9179) 2020-03-23 20:58:35 -05:00
packages Extension API v24.0.0 (#9306) 2020-03-25 10:49:41 +01:00
schema doc: use examples instead of default in schema (#9339) 2020-03-26 17:57:59 +08:00
shared Fix: double quotes not being handled properly in interactive mode (#9315) 2020-03-27 11:48:04 +08:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Fix: double quotes not being handled properly in interactive mode (#9315) 2020-03-27 11:48:04 +08:00
.dockerignore Remove the management console (#7197) 2019-12-16 21:30:51 -07: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.11.0 (#8806) 2020-03-23 14:29:59 -05: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 and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
CHANGELOG.md Update latest release to 3.14.1 (#9334) 2020-03-26 13:16:43 +08: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: download caddy binaries (#9303) 2020-03-25 10:37:04 +02:00
go.sum dev: download caddy binaries (#9303) 2020-03-25 10:37:04 +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 and move lsif directory (#9366) 2020-03-27 11:36: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 @sourcegraph/tsconfig to ^4.0.1 2020-03-25 03:05:51 +00: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 and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
tsconfig.json Rename and move lsif directory (#9366) 2020-03-27 11:36:13 -05:00
tslint.config.js Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
yarn.lock Update dependency @sourcegraph/tsconfig to ^4.0.1 2020-03-25 03:05:51 +00: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.