Code AI platform with Code Search & Cody
Go to file
2019-11-02 14:19:52 +01:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github internal: add comby bindings (#6244) 2019-10-29 17:32:42 -07:00
.storybook Update dependency sass-loader to v8 (#5455) 2019-09-21 13:51:39 +02:00
.vscode Adapt code for TypeScript 3.7 (#5829) 2019-10-17 15:30:30 -07:00
browser Fix exception on GitLab MRs (#6345) 2019-11-01 16:59:22 +01:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd Update react monorepo to ^16.11.0 (#6380) 2019-11-02 13:55:06 +01:00
dev Pin dependencies 2019-11-01 12:07:36 +00:00
doc Release Sourcegraph v3.9.4 (#6386) 2019-11-01 18:09:12 -07:00
docker-images Update grafana/grafana:6.4.2 Docker digest to 41333de (#6317) 2019-11-01 15:03:39 -07:00
enterprise a8n: Load and store Bitbucket Server PR activity as ChangesetEvents (#6339) 2019-11-02 10:43:17 +01:00
internal a8n: Load and store Bitbucket Server PR activity as ChangesetEvents (#6339) 2019-11-02 10:43:17 +01:00
lsif LSIF: prevent circular imports (#6310) 2019-11-01 13:19:21 -06:00
migrations a8n: Persist CampaignPlan.Arguments as string (#6263) 2019-10-31 06:29:29 +01:00
packages Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
schema doc: add Bitbucket Cloud exclude option (#6375) 2019-11-01 14:59:37 -07:00
shared Bext/integrations: Exit early when not logged in (#6293) 2019-11-01 11:49:57 +01:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Fix query builder exact match field (#6303) 2019-10-31 14:55:48 -07: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 Use fromFetch() instead of ajax() (#5561) 2019-09-19 22:04:05 +02:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore dev: Automate release ping step from captain duties (#5990) 2019-10-14 19:42:56 +02: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 SQLite backend (#5332) 2019-09-13 14:42:49 -05:00
CHANGELOG.md Release Sourcegraph v3.9.4 (#6386) 2019-11-01 18:09:12 -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 search: Zoekt sends list of indexed repos when requesting what to index (#6290) 2019-10-31 14:08:41 +02:00
go.sum search: Zoekt sends list of indexed repos when requesting what to index (#6290) 2019-10-31 14:08:41 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.ts Bitbucket server integration (#4686) 2019-06-28 15:19:08 +02: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 reactrouter monorepo to ^5.1.2 (#5811) 2019-11-02 14:19:52 +01:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md dblink: fix for non-admin users (#5902) 2019-10-09 13:24:38 -05:00
renovate.json Create Renovate PRs for nightly TypeScript builds (#5973) 2019-10-11 15:26:08 -07:00
SECURITY.md Create SECURITY.md and link to security policy (#5220) 2019-08-22 21:39:20 -07:00
tsconfig.json Update dependency @sourcegraph/prettierrc to v3 (#3974) 2019-05-13 13:17:09 -07:00
tslint.config.js Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
yarn.lock Update reactrouter monorepo to ^5.1.2 (#5811) 2019-11-02 14:19:52 +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/launch.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.