Code AI platform with Code Search & Cody
Go to file
2019-03-03 16:39:46 +08:00
.github migrations: New migrations use transactions (#2486) 2019-03-01 09:42:16 +02:00
.vscode React to OS dark theme setting (#2385) 2019-02-25 21:58:49 +01:00
client Don't report exceptions from third-party code to Sentry (#2489) 2019-03-01 12:55:04 +01:00
cmd Remove in-product /help, redirect to docs.sourcegraph.com (#2405) 2019-03-03 06:33:44 +08:00
dev Remove in-product /help, redirect to docs.sourcegraph.com (#2405) 2019-03-03 06:33:44 +08:00
doc check for disconnected doc pages, fix them (#2539) 2019-03-03 15:21:35 +08:00
docker-images add sourcegraph/alpine base image; use static GID/UID (#2304) 2019-02-15 13:41:48 -07:00
enterprise ci: remove "docker-images/" logic (#2448) 2019-02-28 11:23:37 -08:00
migrations migrations: New migrations use transactions (#2486) 2019-03-01 09:42:16 +02:00
packages Replace sourcegraph.URI with WHATWG URL (#2430) 2019-02-25 12:27:16 +01:00
pkg Remove in-product /help, redirect to docs.sourcegraph.com (#2405) 2019-03-03 06:33:44 +08:00
schema GitLab: add sudo auth provider (#2236) 2019-02-19 21:01:21 -08:00
shared Minimize Prop drilling (#2488) 2019-03-01 15:12:22 +01:00
ui/assets UI Updates (#1783) 2019-01-11 17:46:36 -08:00
web Remove in-product /help, redirect to docs.sourcegraph.com (#2405) 2019-03-03 06:33:44 +08: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 Move extsvc config JSON Schemas to separate files (#2178) 2019-02-15 13:27:13 -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 React to OS dark theme setting (#2385) 2019-02-25 21:58:49 +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 check for disconnected doc pages, fix them (#2539) 2019-03-03 15:21:35 +08:00
go.sum check for disconnected doc pages, fix them (#2539) 2019-03-03 15:21:35 +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 Add unit tests for code_intelligence (#2396) 2019-03-01 12:54:48 +01: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 Update dependency @types/react-router to v4.4.4 (#2541) 2019-03-03 07:54:14 +00:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md clarify license (#2543) 2019-03-03 16:39:46 +08: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 Update dependency @types/react-router to v4.4.4 (#2541) 2019-03-03 07:54:14 +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
  • Nginx

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

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