Code AI platform with Code Search & Cody
Go to file
2019-10-11 15:26:08 -07:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github src-expose: Several items of feedback/polish (#5914) 2019-10-09 22:53:03 +02:00
.storybook Update dependency sass-loader to v8 (#5455) 2019-09-21 13:51:39 +02:00
.vscode prefer using the Prisma GraphQL VS Code extension (#5268) 2019-08-18 04:05:33 -07:00
browser Browser extension GSuite deployment fixes (#5894) 2019-10-09 13:09:12 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd LSIF: extract common DB columns into lsif_dumps table (#5947) 2019-10-11 16:12:33 -06:00
dev Squash migrations. (#5967) 2019-10-11 15:02:25 -05:00
doc update list of LSIF indexers, refer to lsif.dev (#5962) 2019-10-11 13:26:36 -06:00
docker-images Update LSIF metrics. (#5953) 2019-10-11 14:43:41 -05:00
enterprise Enforce free user limit on enterprise builds (#5922) 2019-10-10 09:41:43 -07:00
internal extsvc/github: update outdated link to newer GraphQL spec (#5971) 2019-10-11 11:25:23 -07:00
lsif LSIF: extract common DB columns into lsif_dumps table (#5947) 2019-10-11 16:12:33 -06:00
migrations LSIF: extract common DB columns into lsif_dumps table (#5947) 2019-10-11 16:12:33 -06:00
packages Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
schema src-expose: Enable src-expose via special repo name (#5911) 2019-10-08 20:18:35 +02:00
shared Add styles for active state of nav links (#5924) 2019-10-09 09:24:38 -07:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web site_alerts: add config warning for critical.externalURL (#5959) 2019-10-10 19:38:56 -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 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
.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 Target the same Postgres db for LSIF data. (#5935) 2019-10-11 08:52:58 -05: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 src-expose: Several items of feedback/polish (#5914) 2019-10-09 22:53:03 +02:00
go.sum src-expose: Several items of feedback/polish (#5914) 2019-10-09 22:53:03 +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 dependency @types/lodash to v4.14.142 2019-10-08 00:20:18 +00: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 dependency @types/lodash to v4.14.142 2019-10-08 00:20:18 +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.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.