Code AI platform with Code Search & Cody
Go to file
renovate[bot] edea024b3f Update dependency webextension-polyfill to ^0.6.0 (#7427)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-07 17:58:01 +01:00
.buildkite ci: optimistically build docker images alongside e2e tests (#7200) 2019-12-18 14:22:21 -05:00
.github more closely dogfood our recommended LSIF action (#7349) 2019-12-24 12:46:17 -08:00
.storybook More optional chaining (#6891) 2019-11-27 16:20:11 +01:00
.vscode use eslint cache (#7384) 2019-12-26 22:18:42 -08:00
browser Add TS_NODE_COMPILER_OPTIONS in release-ff script (#7509) 2020-01-07 10:58:17 -05:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd refactor: introduce more search types (#7492) 2020-01-07 09:40:06 -07:00
dev Squash migrations through v3.9.0. (#7225) 2020-01-06 16:37:29 -06:00
doc Cache bust docs CSS (#7502) 2020-01-07 19:24:50 +10:00
docker-images monitoring: alerting + dashboard overhaul (#7216) 2019-12-17 19:53:32 -07:00
enterprise a8n: Ensure that same diff produces same commit SHA (#7513) 2020-01-07 16:48:19 +01:00
internal refactor: introduce more search types (#7492) 2020-01-07 09:40:06 -07:00
lsif LSIF: Rewrite LSIF supervisor to use goreman (#7233) 2020-01-06 16:33:38 -06:00
migrations Squash migrations through v3.9.0. (#7225) 2020-01-06 16:37:29 -06:00
packages Update dependency typedoc to ^0.15.6 (#7425) 2020-01-01 18:20:22 -08:00
schema support searching multiple revs per repo (`repo:r@branch1:branc… (#7459) 2020-01-07 06:45:18 -08:00
shared support searching multiple revs per repo (`repo:r@branch1:branc… (#7459) 2020-01-07 06:45:18 -08:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web support searching multiple revs per repo (`repo:r@branch1:branc… (#7459) 2020-01-07 06:45:18 -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 Update dependency @sourcegraph/eslint-config to ^0.4.0 (#6445) 2019-11-05 22:40:54 +01:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore use eslint cache (#7384) 2019-12-26 22:18:42 -08: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
.nvmrc Update Node.js to v13.5.0 (#7394) 2020-01-01 13:17:32 +01: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 upgrade yarn to 1.19.2 (#7128) 2019-12-09 12:39:09 -05:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js RFC14 Autocomplete Suggestions - Front-End (#6105) 2019-11-14 14:42:48 +00:00
CHANGELOG.md support searching multiple revs per repo (`repo:r@branch1:branc… (#7459) 2020-01-07 06:45:18 -08:00
CONTRIBUTING.md external contributors can write RFCs in addition to issues (#7121) 2019-12-09 17:43:14 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod gomod: Update all (#7189) 2019-12-13 12:50:51 +02:00
go.sum gomod: Update all (#7189) 2019-12-13 12:50:51 +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 use same timezone for all jest tests (#7449) 2020-01-02 23:12:49 -08:00
jest.config.js SQLite backend (#5332) 2019-09-13 14:42:49 -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 webextension-polyfill to ^0.6.0 (#7427) 2020-01-07 17:58:01 +01:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md dev: Rename launch.sh to start.sh (#6889) 2019-11-27 17:12:18 +02:00
renovate.json Configure Beyang as owner of dev/release deps (#6555) 2019-11-12 22:27:01 +01:00
SECURITY.md Create SECURITY.md and link to security policy (#5220) 2019-08-22 21:39:20 -07:00
tsconfig.json Remove the management console (#7197) 2019-12-16 21:30:51 -07:00
tslint.config.js Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
yarn.lock Update dependency webextension-polyfill to ^0.6.0 (#7427) 2020-01-07 17:58:01 +01: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. Start the development server

    ./dev/start.sh
    

Sourcegraph should now be running at http://localhost:3080.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

The docs folder 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.