Code AI platform with Code Search & Cody
Go to file
2019-12-03 10:53:57 -05:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github LSIF workflow: fix root (#7006) 2019-12-02 17:37:20 -07:00
.storybook More optional chaining (#6891) 2019-11-27 16:20:11 +01:00
.vscode dev: Rename launch.sh to start.sh (#6889) 2019-11-27 17:12:18 +02:00
browser Fix GitHub getCodeCellFromTarget() (#6995) 2019-12-02 15:58:09 -05:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd Update dependency monaco-editor to ^0.18.1 (#5797) 2019-12-03 10:53:57 -05:00
dev docs: self-managed comby dependency install (#6902) 2019-11-27 22:51:43 -07:00
doc Fix broken code of conduct link in docs (#7005) 2019-12-02 16:37:40 -08:00
docker-images monitoring: high level gitserver metrics part 2 (#6566) 2019-11-22 09:45:16 -08:00
enterprise a8n: Add CampaignTypes description of diff in Markdown & return description in NPM credentials campaign (#6989) 2019-12-03 14:05:44 +01:00
internal a8n: Add CampaignTypes description of diff in Markdown & return description in NPM credentials campaign (#6989) 2019-12-03 14:05:44 +01:00
lsif Update dependency @types/ioredis to v4.0.21 2019-12-03 04:09:51 +00:00
migrations a8n: Add CampaignTypes description of diff in Markdown & return description in NPM credentials campaign (#6989) 2019-12-03 14:05:44 +01:00
packages Update dependency typedoc to ^0.15.3 (#6958) 2019-12-02 13:28:24 -05:00
schema a8n: Validate campaign plan arguments with JSON schema (#6916) 2019-12-01 10:09:54 +01:00
shared Add comby preview e2e test (#6678) 2019-11-29 10:56:50 +01:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web a8n: Add a prototype campaign type to search & replace leaked N… (#6893) 2019-11-29 16:28:32 +01:00
.dockerignore server: Use Dockerfile and build script instead of godockerize (#1971) 2019-01-21 14:07:29 +02: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 TypeScript project references (#6053) 2019-11-12 12:26:21 +01: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
.prettierignore mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07: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 CHANGELOG: revise diff/commit limitation statement given known issue 2019-11-26 11:16:16 -07:00
CONTRIBUTING.md fix: broken link to code of conduct in CONTRIBUTING.md (#1230) 2018-12-04 14:14:41 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod Update godeps (#6929) 2019-12-02 15:11:32 +01:00
go.sum Update godeps (#6929) 2019-12-02 15:11:32 +01:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Use TypeScript project references (#6053) 2019-11-12 12:26:21 +01:00
jest.config.base.js Polyfill fetch in tests (#5689) 2019-09-20 22:21:24 +02: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 monaco-editor to ^0.18.1 (#5797) 2019-12-03 10:53:57 -05: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 More optional chaining (#6891) 2019-11-27 16:20:11 +01:00
tslint.config.js Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
yarn.lock Update dependency monaco-editor to ^0.18.1 (#5797) 2019-12-03 10:53:57 -05: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.