Code AI platform with Code Search & Cody
Go to file
2019-04-15 14:52:51 -07:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github Remove front matter from PR templates (#3289) 2019-04-08 13:31:57 +02:00
.vscode Add tests for MountGetters (#3264) 2019-04-08 13:20:57 +02:00
client new extension API for completion items (#3392) 2019-04-15 13:44:57 -07:00
cmd repo-updater: Do not specify a default username and dbname (#3411) 2019-04-15 22:46:05 +02:00
dev make zoekt-wrapper a little more readable (#3372) 2019-04-11 15:24:45 -07:00
doc repo-updater: Instructions on splitting large GitHub repositoryQuerys (#3402) 2019-04-15 18:22:33 +02:00
docker-images ci: Move Docker labels declaration inside Dockerfile (#2813) 2019-03-18 17:49:29 -07:00
enterprise sourcegraph.com: GitHub auth only requests public repo scope (#3389) 2019-04-15 11:49:38 -07:00
migrations search: add recent_searches table to postgres, add incoming queries to it (#2974) 2019-03-29 12:10:04 -07:00
packages new extension API for completion items (#3392) 2019-04-15 13:44:57 -07:00
pkg Add search performance warning to single-node Docker deployments (#3374) 2019-04-15 09:25:12 -07:00
schema Change maxReposToSearch default to be unlimited (#3262) 2019-04-12 12:10:11 -07:00
shared new extension API for completion items (#3392) 2019-04-15 13:44:57 -07:00
ui/assets Onboarding UI (#2641) 2019-03-15 16:00:07 -07:00
web E2e tests: wait for external service to be added (#3414) 2019-04-15 14:30:18 -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
.gitattributes graphqlbackend: Set generated gitattr for schema.go 2018-12-03 20:35:11 +02:00
.gitignore Symbols sqlite: attempt 2 (#2418) 2019-02-22 15:23:57 -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 Update TSLint (#3148) 2019-04-02 04:00:10 +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
CHANGELOG.md update changelog: add bug fix for indexed search timeouts 2019-04-15 14:19: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 all: Propogate opentracing headers (#3283) 2019-04-08 13:33:43 +02:00
go.sum all: Propogate opentracing headers (#3283) 2019-04-08 13:33:43 +02: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 improve tests and fix minor issues in Git commit log UI (#2782) 2019-04-12 00:47:52 -07:00
jest.config.js use jest for testing (#1456) 2018-12-16 18:13:40 -08: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 Pin dependency @types/textarea-caret to 3.0.0 (#3412) 2019-04-15 14:52:51 -07:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md mention prebuilt Docker images (#3010) 2019-04-12 00:01:22 -07:00
renovate.json Remove Renovate includePaths: enterprise 2018-11-06 16:12:08 +01:00
tsconfig.json Config improvements (#2366) 2019-02-19 21:54:28 +01:00
tslint.json Add and enforce custom select component (#1619) 2019-01-11 17:00:57 +01:00
yarn.lock Pin dependency @types/textarea-caret to 3.0.0 (#3412) 2019-04-15 14:52:51 -07: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
  • Nginx

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

Installation

Prebuilt Docker images are the fastest way to use Sourcegraph. See the quickstart installation guide.

  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.