Code AI platform with Code Search & Cody
Go to file
renovate[bot] 3c8da5f53e
Update dependency enzyme-adapter-react-16 to ^1.15.4 (#13519)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-24 00:38:34 +02:00
.buildkite ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
.github codenotify: add bobheadxi subscriptions, fix entry (#14080) 2020-09-22 20:04:30 -07:00
.storybook Align create page with design (#13725) 2020-09-15 09:27:16 +02:00
.vscode Update dependency prettier to ^2.1.2 (#13526) 2020-09-21 11:11:34 -07:00
browser Update dependency prettier to ^2.1.2 (#13526) 2020-09-21 11:11:34 -07:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd codenotify: add bobheadxi subscriptions, fix entry (#14080) 2020-09-22 20:04:30 -07:00
dev add tracing to internal/db/repos/repos.Count (#14020) 2020-09-22 18:38:42 -07:00
doc Pin cssnano version that treats :focus-visible correctly (#14086) 2020-09-23 22:21:31 +02:00
docker-images codenotify: add bobheadxi subscriptions, fix entry (#14080) 2020-09-22 20:04:30 -07:00
enterprise codeintel: Add orderedKeys to indexer (#14117) 2020-09-23 16:32:42 -05:00
internal tracking-issue: Fix strikethrough on closed (unmerged) PRs (#14107) 2020-09-23 12:35:36 -05:00
migrations/frontend Drop sources column (#14094) 2020-09-23 16:09:30 +04:00
monitoring codenotify: add bobheadxi subscriptions, fix entry (#14080) 2020-09-22 20:04:30 -07:00
packages dev: support switching our default branch to main (#11453) 2020-08-05 09:44:51 +02:00
schema other various 3.20 changelog updates (#13979) 2020-09-21 07:31:20 -07:00
shared show command palette immediately, don't wait for fade-in (#14119) 2020-09-23 14:58:17 -07:00
third-party-licenses chore: update third-party licenses (#13969) 2020-09-21 16:04:53 +08:00
ui/assets Add private code CTAs (#12288) 2020-07-21 14:16:10 +08:00
web Properly truncate path breadcrumbs (#14097) 2020-09-23 22:21:59 +02:00
.dockerignore codeintel: Remove old typescript services (#10566) 2020-05-14 15:29:03 -05: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 Adopt graphql-code-generator (#12559) 2020-07-30 15:58:41 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml golangci: remove misspell (#13612) 2020-09-03 10:41:54 +08: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.7.0 (#12600) 2020-08-03 11:06:37 +02:00
.prettierignore Adopt graphql-code-generator (#12559) 2020-07-30 15:58:41 +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 Properly truncate path breadcrumbs (#14097) 2020-09-23 22:21:59 +02:00
CODENOTIFY codenotify: add bobheadxi subscriptions, fix entry (#14080) 2020-09-22 20:04:30 -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 symbols: use shared go-ctags library (#14073) 2020-09-23 00:45:35 +02:00
go.sum symbols: use shared go-ctags library (#14073) 2020-09-23 00:45:35 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Don't run generate twice in gulp watch task (#13289) 2020-08-24 17:28:25 +02:00
jest.config.base.js Align create page with design (#13725) 2020-09-15 09:27:16 +02: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 enzyme-adapter-react-16 to ^1.15.4 (#13519) 2020-09-24 00:38:34 +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 use new sourcegraphstatic.com host for static assets (#12419) 2020-07-23 14:08:53 -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.json Add UI integration tests backed by Polly (#11898) 2020-07-06 14:57:02 +02:00
yarn.lock Update dependency enzyme-adapter-react-16 to ^1.15.4 (#13519) 2020-09-24 00:38: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.