Code AI platform with Code Search & Cody
Go to file
renovate[bot] 6cbad12127
Update dependency webpack-bundle-analyzer to ^3.9.0 (#14593)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-11 15:13:45 +02:00
.buildkite enable e2e testing in vagrant for main branch (#14533) 2020-10-08 12:03:31 -05:00
.github Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
.storybook Update dependency postcss-loader to v4 (#14594) 2020-10-11 15:06:41 +02:00
.vscode Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
client fix regression in extension API to allow dynamic context key access (#14587) 2020-10-11 15:13:18 +02:00
cmd repo-updater: Don't log when error is nil (#14584) 2020-10-10 11:40:36 +02:00
dev do not prevent dev server startup if docsite fails (#14588) 2020-10-10 20:15:33 -07:00
doc fix white flash on docsite in dark theme (#14586) 2020-10-10 10:01:18 -07:00
docker-images prometheus: support regex silencing of alerts (#14474) 2020-10-08 10:18:20 +08:00
enterprise do not prevent dev server startup if docsite fails (#14588) 2020-10-10 20:15:33 -07:00
internal codeintel: Store index job commands and output in the database (#14457) 2020-10-09 11:29:32 -05:00
migrations codeintel: Store index job commands and output in the database (#14457) 2020-10-09 11:29:32 -05:00
monitoring repo-updater: Add critical alerts (#14530) 2020-10-09 15:58:35 +02:00
schema Fix crash on Gitlab external service configuration (#14519) 2020-10-09 18:26:52 +04:00
test enable e2e testing in vagrant for main branch (#14533) 2020-10-08 12:03:31 -05:00
third-party-licenses chore: update third-party licenses (#13969) 2020-09-21 16:04:53 +08:00
ui/assets Implement RFC 209: Extension discoverability (#13699) 2020-09-28 02:33:26 -04:00
.dockerignore Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.editorconfig Hide monaco cursor in Chromatic and Percy (#13643) 2020-09-04 23:29:27 +02:00
.eslintrc.js Open "Help" and "About" in new tabs (#13446) 2020-08-31 12:51:01 +02:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +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 Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.nvmrc Update Node.js to v14.7.0 (#12600) 2020-08-03 11:06:37 +02:00
.prettierignore Add after install page to browser extension (#14407) 2020-10-09 18:57:22 +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 Pin cssnano version that treats :focus-visible correctly (#14086) 2020-09-23 22:21:31 +02:00
CHANGELOG.md Remove non-OSS GraphQL, INI, TOML, Perforce syntax highlighting. (#14456) - take two (#14465) 2020-10-07 12:46:40 -07:00
CODENOTIFY Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +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 incorporate graphql-go patch to fix union/interface inline fragments (2nd try) (#14475) 2020-10-10 10:17:51 -07:00
go.sum incorporate graphql-go patch to fix union/interface inline fragments (2nd try) (#14475) 2020-10-10 10:17:51 -07:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
jest.config.base.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
jest.config.js Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
LICENSE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.apache Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json Update dependency webpack-bundle-analyzer to ^3.9.0 (#14593) 2020-10-11 15:13:45 +02:00
postcss.config.js Implement new toggle components (#13774) 2020-09-11 17:43:08 -04:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md Update links to developer docs in README (#14578) 2020-10-09 13:41:07 -07:00
renovate.json Don't open Renovate PRs for typescript nightly (#13378) 2020-08-26 21:19:05 +02:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
tsconfig.all.json Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
tsconfig.json Move shared branded code to branded/ (#14515) 2020-10-08 15:14:34 +02:00
yarn.lock Update dependency webpack-bundle-analyzer to ^3.9.0 (#14593) 2020-10-11 15:13:45 +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. Initialize the PostgreSQL database

  2. Ensure Docker is running

  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 client/web/src/enterprise directories.

All files in the enterprise/ and client/web/src/enterprise/ directories are subject to the Sourcegraph Enterprise license.