Code AI platform with Code Search & Cody
Go to file
2019-08-01 10:15:13 +00:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github Add LSIF support (#4799) 2019-07-12 19:20:26 -06:00
.storybook Update to core-js 3 (#4472) 2019-06-12 21:11:36 +02:00
.vscode omit management-console assets from VS Code search results (#4529) 2019-06-16 03:56:41 -07:00
browser Optimize browser extension bundle size (#4952) 2019-07-22 13:39:36 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd SELECT name, change a switch to if/else, make a JSON struct more explicit (#4989) 2019-07-31 09:20:06 -07:00
dev dev: Consolidate enterprise Procfile into a single Procfile (#4983) 2019-07-30 20:39:27 +02:00
doc Clarify quickstart editions (#5001) 2019-07-31 22:48:12 -07:00
docker-images ci: Move Docker labels declaration inside Dockerfile (#2813) 2019-03-18 17:49:29 -07:00
enterprise codemod: Dockerfile and CI integration for replacer 2019-07-31 08:14:14 -07:00
lsif Pin dependencies 2019-08-01 09:18:58 +00:00
migrations Allow creating and updating (user|org) names with dots (#4925) 2019-07-17 14:30:03 +02:00
packages remove unused and incorrect non-top-level .vscode dirs (#4487) 2019-06-13 11:33:30 -07:00
pkg Use TTL for HTTP cache to stop Redis running OOM (#5011) 2019-08-01 09:15:42 +02:00
schema site config option: branding.brandName (#4995) 2019-07-29 23:02:12 -07:00
shared more compact ExtensionCard (#4554) 2019-07-26 23:43:48 -07:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web site config option: branding.brandName (#4995) 2019-07-29 23:02:12 -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 eslint rules for React hooks (#4486) 2019-06-15 01:06:25 -07:00
.gitattributes repo-updater: Collapse testdata files in PRs (#3999) 2019-05-15 10:26:45 +02:00
.gitignore add envrc to gitignore (#4628) 2019-06-20 16:21:23 -07:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -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 use Babel instead of ts-jest to speed up and simplify tests (#3959) 2019-07-25 01:38:25 -07:00
CHANGELOG.md SELECT name, change a switch to if/else, make a JSON struct more explicit (#4989) 2019-07-31 09:20:06 -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 golang.org/x/sys commit hash to cbf593c 2019-08-01 08:12:44 +00:00
go.sum Update golang.org/x/sys commit hash to cbf593c 2019-08-01 08:12:44 +00: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 use Babel instead of ts-jest to speed up and simplify tests (#3959) 2019-07-25 01:38:25 -07:00
jest.config.js mv client/browser browser (#3826) 2019-05-06 19:36:03 +02: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 @types/graphql to v14.2.3 2019-08-01 10:15:13 +00:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md Update README wording (#5000) 2019-07-31 22:42:59 -07:00
renovate.json renovate: Add label "bot" to PRs (#4748) 2019-07-01 14:57:57 +02:00
tsconfig.json Update dependency @sourcegraph/prettierrc to v3 (#3974) 2019-05-13 13:17:09 -07:00
tslint.config.js Proper TSLint Extends (#4635) 2019-06-21 15:11:45 +02:00
yarn.lock Update dependency @types/graphql to v14.2.3 2019-08-01 10:15:13 +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.11 or later)
  • Docker
  • PostgreSQL (version 9)
  • 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.