Code AI platform with Code Search & Cody
Go to file
Keegan Carruthers-Smith e2ecce4f93
dev: buildkite separators for e2e server logs (#18477)
Add in buildkite separators for the output of the server logs.
This should help buildkite have different sections for each
thing our e2e tests do. Note: this doesn't work just yet since
we have vagrant including a prefix. But this is a step in the
right direction.
2021-02-19 12:17:57 +02:00
.buildkite Speed up coverage collection for storybooks (#16819) 2020-12-17 15:57:58 +01:00
.github Fix campaigns notification message, part 4 (#18421) 2021-02-18 11:35:29 +00:00
.storybook Speed up coverage collection for storybooks (#16819) 2020-12-17 15:57:58 +01:00
.vscode Improve go integration in vscode (#16692) 2020-12-14 14:57:07 +01:00
client search contexts: Use local storage to store last selected search context (#18425) 2021-02-19 08:02:28 +01:00
cmd trace: Rename functions to avoid stutter (#18476) 2021-02-19 12:06:23 +02:00
dev dev: buildkite separators for e2e server logs (#18477) 2021-02-19 12:17:57 +02:00
doc chore: Update codenotify for code intelligence docs (#18455) 2021-02-18 21:02:33 -06:00
docker-images insights: add & prepare to use generated store mocks (#18118) 2021-02-10 02:00:06 +00:00
enterprise frontend: inject db handler into resolvers (#18475) 2021-02-19 13:50:13 +04:00
internal trace: Rename functions to avoid stutter (#18476) 2021-02-19 12:06:23 +02:00
migrations RFC 311: Add migrations table (#18392) 2021-02-17 23:28:29 +00:00
monitoring monitoring: Add panels to track table bloat (#18343) 2021-02-16 15:02:58 -06:00
schema Add encryption keys to site config add keyring.Ring type to load & configure keys from config (#18373) 2021-02-17 15:51:59 +00:00
third-party-licenses chore: update third-party license (#18274) 2021-02-15 00:23:02 +00:00
ui/assets Theme Storybook with global dark and light theme (#14606) 2020-11-24 22:34:53 +01: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 ci: add and use linting rule to check /help URLs (#17936) 2021-02-05 11:33:59 -08:00
.gitattributes monitoring: mark monitoring API docs as generated (#17088) 2021-01-06 21:24:48 +08:00
.gitignore dev: remove nginx (#13299) 2021-02-18 14:38:58 +00: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.15.4 (#16981) 2021-01-06 14:46:23 +01:00
.percy.yml Configure better Percy widths (#14902) 2020-10-20 13:30:28 +02:00
.prettierignore db: rename internal/db package to internal/database (#17607) 2021-01-25 20:24:15 +04:00
.stylelintignore docs: extension architecture (#15679) 2020-12-02 21:17:24 -05:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions Upgrade to Go 1.15 (#18024) 2021-02-10 15:39:11 -07: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 campaigns: also request the user:email scope (#18403) 2021-02-18 17:14:45 -08:00
CODENOTIFY Deglobalize CODENOTIFY settings for eseliger (#16710) 2020-12-14 15:50:22 +01: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 deps: Switch back to upstream graph-goophers/graphql-go (#18473) 2021-02-19 10:50:13 +02:00
go.sum deps: Switch back to upstream graph-goophers/graphql-go (#18473) 2021-02-19 10:50:13 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js gulp: disable graphql-codegen's watch feature (#16411) 2020-12-07 10:22:35 +01:00
jest.config.base.js Add product feedback page (#17945) 2021-02-10 09:44:20 +00: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 Add product feedback page (#17945) 2021-02-10 09:44:20 +00: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 dev: remove nginx (#13299) 2021-02-18 14:38:58 +00: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 Some dev environment QoL improvements (#16445) 2020-12-07 15:33:47 +01:00
yarn.lock Add product feedback page (#17945) 2021-02-10 09:44:20 +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.15 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn

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.