Code AI platform with Code Search & Cody
Go to file
2020-06-01 13:46:47 -05:00
.buildkite ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
.github codeintel: Send tar files via SendDB (#11074) 2020-06-01 13:46:47 -05:00
.storybook Overhaul tooltip close button & badge styles (#10956) 2020-05-27 08:47:18 +02:00
.vscode Add ts-morph scaffold for TS codemods (#10257) 2020-05-29 11:32:33 +02:00
browser Nest storybooks (#11152) 2020-06-01 10:45:20 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd codeintel: Send tar files via SendDB (#11074) 2020-06-01 13:46:47 -05:00
dev Jaeger reverse proxy working (#11002) 2020-05-29 09:20:29 -07:00
doc doc admin: describe observability scenario with big repo-updater queries (#11087) 2020-05-28 18:34:59 -07:00
docker-images Jaeger reverse proxy working (#11002) 2020-05-29 09:20:29 -07:00
enterprise campaigns: Order changeset jobs by updated_at time (#11178) 2020-06-01 13:55:48 +02:00
internal codeintel: Send tar files via SendDB (#11074) 2020-06-01 13:46:47 -05:00
migrations migration: Change error index on changeset_jobs (#11170) 2020-06-01 12:29:53 +02:00
monitoring codeintel: Reorganize bundle dir (#11079) 2020-06-01 13:25:50 -05:00
packages Bump sourcegraph-extension-api to 24.5.0 (badge icons) (#10996) 2020-05-27 16:56:35 -07:00
schema authz: turn on background permissions by default (#10972) 2020-05-26 15:34:14 +08:00
shared Nest storybooks (#11152) 2020-06-01 10:45:20 +02:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Add global styles storybook (#11158) 2020-06-01 17:18:53 +02:00
.dockerignore codeintel: Remove old typescript services (#10566) 2020-05-14 15:29:03 -05:00
.editorconfig dev: add shfmt for shell script consistency (#9900) 2020-04-15 12:44:36 -07:00
.eslintrc.js Use asyncScheduler instead of animationFrameScheduler (#10367) 2020-05-02 19:18:58 +02:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore dev: quick notes on how to use tilt and minikube (#10407) 2020-05-08 16:41:59 -07:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml golangci: remove several linters (#10901) 2020-05-21 13:58:50 +02: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 v14.3.0 (#10850) 2020-05-20 13:53:18 +02:00
.prettierignore Take percy snapshots of storybooks (#10622) 2020-05-14 13:15:42 +02: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 Revert "specify nodejs version in .tools-versions" (#10924) 2020-05-22 12:46:21 +02:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js Polyfill URLSearchParams for Firefox (#10789) 2020-05-18 21:04:08 +02:00
CHANGELOG.md Remove repo count from the Explore page (#11113) 2020-05-30 09:35:45 -07: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 codeintel: Send tar files via SendDB (#11074) 2020-06-01 13:46:47 -05:00
go.sum codeintel: Send tar files via SendDB (#11074) 2020-06-01 13:46:47 -05: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 Override $LANG when running Jest tests (#11083) 2020-05-28 17:37:40 -07:00
jest.config.js codeintel: Remove old typescript services (#10566) 2020-05-14 15:29:03 -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/webpack-dev-server to v3.11.0 2020-06-01 18:15:52 +00:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md docs: Update broken handbook links (#10964) 2020-05-26 10:10:29 -07:00
renovate.json Update Node.js to v14 (#10515) 2020-05-15 20:45:36 +02:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
ThirdPartyLicensesGo.csv Add ThirdPartyLicenses.csv with separate tools (#9823) 2020-04-16 22:44:54 +02:00
ThirdPartyLicensesNpm.csv Update npm licenses (#10849) 2020-05-20 13:44:53 +02:00
tsconfig.json codeintel: Remove old typescript services (#10566) 2020-05-14 15:29:03 -05:00
yarn.lock Update dependency @types/webpack-dev-server to v3.11.0 2020-06-01 18:15:52 +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.