Code AI platform with Code Search & Cody
Go to file
2018-12-20 23:57:40 -08:00
.github one line template 2018-12-20 23:57:40 -08:00
.vscode use jest for testing (#1456) 2018-12-16 18:13:40 -08:00
client support showing a loading spinner and error tooltip on ActionItem during command execution (#1448) 2018-12-16 19:01:42 -08:00
cmd delete misleading docs 2018-12-18 14:17:11 -08:00
dev remove duplicate scripts 2018-12-20 14:54:43 -08:00
doc update roadmap 2018-12-19 14:59:49 -08:00
enterprise remove duplicate scripts 2018-12-20 14:54:43 -08:00
migrations pkg/db/globalstatedb: add management console password state / generation (#1289) 2018-12-07 15:08:44 -08:00
packages extension api v20.0.0 2018-12-17 16:26:00 +01:00
pkg enforce go1.11.4 (#1496) 2018-12-20 10:39:42 -08:00
schema Remove repos.list from site configuration (#1391) 2018-12-14 20:10:28 +01:00
shared Add TextDocumentDecorationType, use it to merge decorations from several sources (#1393) 2018-12-17 15:52:13 +01:00
ui/assets Combine marketing and product homepage (#156) 2018-10-04 17:31:30 -07:00
web move into doc 2018-12-18 14:25:07 -08:00
.editorconfig Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.gitattributes graphqlbackend: Set generated gitattr for schema.go 2018-12-03 20:35:11 +02:00
.gitignore cmd/management-console/assets: do not require specifying -tags=dev on every Go tool (#1398) 2018-12-14 15:53:33 -08: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 add simple React snapshot tests for shared components (#1457) 2018-12-16 19:01:26 -08: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
CHANGELOG.md Add TextDocumentDecorationType, use it to merge decorations from several sources (#1393) 2018-12-17 15:52:13 +01: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 Implement the shield and badge endpoints using api.gddo.org/importers (#1377) 2018-12-14 12:49:00 -08:00
go.sum Implement the shield and badge endpoints using api.gddo.org/importers (#1377) 2018-12-14 12:49:00 -08:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.ts use single root package.json, do not build intermediate shared code (#936) 2018-11-12 01:05:35 -08:00
jest.config.base.js support showing a loading spinner and error tooltip on ActionItem during command execution (#1448) 2018-12-16 19:01:42 -08:00
jest.config.js use jest for testing (#1456) 2018-12-16 18:13:40 -08:00
LICENSE enterprise license 2018-10-26 19:13:36 -07:00
LICENSE.apache enterprise license 2018-10-26 19:13:36 -07:00
package.json Update dependency @sourcegraph/tslint-config to ^12.3.0 (#1505) 2018-12-20 09:45:42 +00:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md fix license info 2018-11-19 15:39:48 -08:00
renovate.json Remove Renovate includePaths: enterprise 2018-11-06 16:12:08 +01:00
tsconfig.json use jest for testing (#1456) 2018-12-16 18:13:40 -08:00
tslint.json use jest for testing (#1456) 2018-12-16 18:13:40 -08:00
yarn.lock Update dependency @sourcegraph/tslint-config to ^12.3.0 (#1505) 2018-12-20 09:45:42 +00:00

Sourcegraph

build apache license

Sourcegraph is a fast, open-source, fully-featured code search and navigation engine.

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

For a detailed guide to installing prerequisites, see these instructions.

Installation

  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 src/enterprise directories.

All files in the enterprise/ and src/enterprise/ directories are subject to the Sourcegraph Enterprise license.