Code AI platform with Code Search & Cody
Go to file
2018-11-01 15:25:22 -07:00
.github Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.vscode Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
client/contrib Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
cmd check conf.SearchIndexEnabled in more places (#639) 2018-11-01 14:45:56 -07:00
dev fix go-enterprise-import.sh (#642) 2018-11-01 15:22:40 -07:00
doc trim quickstart 2018-11-01 08:10:50 -07:00
docs sentence case for "Sourcegraph extensions", no capital E 2018-10-24 16:34:46 -07:00
enterprise remove unnecessary oss-linked 2018-11-01 15:25:22 -07:00
migrations set settings.author_user_id to null when hard-deleting the user who authored settings 2018-10-26 14:24:48 -07:00
pkg fetch SRC_GIT_SERVERS from frontend if not configured (#616) 2018-11-01 00:03:45 -07:00
schema Support GitHub advanced search for repository selection (#482) 2018-10-30 13:30:05 -07:00
src merge renderAs and renderMode to ensure view mode consistency (#622) 2018-11-01 10:48:37 -07:00
ui/assets Combine marketing and product homepage (#156) 2018-10-04 17:31:30 -07:00
xlang chore: gomvpkg -from github.com/sourcegraph/sourcegraph/xlang/uri -to github.com/sourcegraph/sourcegraph/pkg/gituri 2018-10-29 21:36:58 -07:00
.editorconfig Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.gitattributes Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.gitignore fix assets generation and bundling 2018-10-28 12:22:43 -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 prettierignore all doc/ 2018-11-01 07:50:37 -07:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
babel.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
CHANGELOG.md merge renderAs and renderMode to ensure view mode consistency (#622) 2018-11-01 10:48:37 -07:00
CONTRIBUTING.md docs: add CONTRIBUTING + open-source FAQ (#178) 2018-10-01 15:10:43 -07:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod bump zoekt 2018-11-01 17:10:04 +02:00
go.sum use separate DB for registry DB tests 2018-11-01 08:44:54 -07:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.ts build: typecheck TypeScript code in build and CI 2018-10-30 13:07:49 -07: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 supply sourcegraph URL and client app to extensions 2018-10-31 19:56:32 -07:00
postcss.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md Update README.md 2018-10-27 10:37:10 -07:00
renovate.json Only renovate the enterprise package.json 2018-10-26 12:22:22 -07:00
tsconfig.json use a single Webpack/TypeScript build 2018-10-28 02:00:06 -07:00
tsconfig.test.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
tslint.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
webpack.config.ts use a single Webpack/TypeScript build 2018-10-28 02:00:06 -07:00
yarn.lock supply sourcegraph URL and client app to extensions 2018-10-31 19:56:32 -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

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/ directory.

All files in the enterprise/ directory are subject to the Sourcegraph Enterprise license.