Code AI platform with Code Search & Cody
Go to file
2020-01-17 15:41:55 -07:00
.buildkite Format logs from the Puppeteer browser console (#7856) 2020-01-17 18:43:24 +01:00
.github API: Add public endpoint to redirect to current src-cli download. (#7600) 2020-01-12 14:21:36 -06:00
.storybook More optional chaining (#6891) 2019-11-27 16:20:11 +01:00
.vscode Use golangci-lint as lint tool in VS Code workspace settings (#7865) 2020-01-17 18:06:09 +01:00
browser Update badge attachment styles. (#7822) 2020-01-16 11:11:55 -06:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd RFC 40: Grant permissions on user creation and email verificati… (#7754) 2020-01-18 06:06:37 +08:00
dev ci: include job log on failure of parallel_run (#7862) 2020-01-17 16:54:32 +02:00
doc docs: Improve a8n docs & document "Find leaked credentials" campaign (#7863) 2020-01-17 18:21:26 +01:00
docker-images metrics: better dev experience (#7454) 2020-01-10 15:02:49 -08:00
enterprise automation: make regex search replace the default campaign (#7844) 2020-01-17 15:41:55 -07:00
internal vcs/git: restructure test to avoid crashing ctrlflow analysis (#7858) 2020-01-17 16:25:33 +02:00
lsif LSIF: Use repository ids instead of names (#7739) 2020-01-17 08:17:46 -06:00
migrations LSIF: Use repository ids instead of names (#7739) 2020-01-17 08:17:46 -06:00
packages Try this out. (#7797) 2020-01-16 08:41:59 -06:00
schema automation: make regex search replace the default campaign (#7844) 2020-01-17 15:41:55 -07:00
shared Format logs from the Puppeteer browser console (#7856) 2020-01-17 18:43:24 +01:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web automation: make regex search replace the default campaign (#7844) 2020-01-17 15:41:55 -07:00
.dockerignore Remove the management console (#7197) 2019-12-16 21:30:51 -07:00
.editorconfig Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.eslintrc.js Update dependency @sourcegraph/eslint-config to ^0.4.0 (#6445) 2019-11-05 22:40:54 +01:00
.gitattributes Don't count fixtures into GitHub language stats (#5817) 2019-10-02 17:22:49 +02:00
.gitignore use eslint cache (#7384) 2019-12-26 22:18:42 -08: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
.nvmrc Update Node.js to v13.6.0 (#7533) 2020-01-10 02:58:25 +01:00
.prettierignore Remove the management console (#7197) 2019-12-16 21:30:51 -07:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions upgrade yarn to 1.19.2 (#7128) 2019-12-09 12:39:09 -05:00
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) 2018-11-10 12:14:21 -08:00
babel.config.js RFC14 Autocomplete Suggestions - Front-End (#6105) 2019-11-14 14:42:48 +00:00
CHANGELOG.md db: remove enabled/disabled from ReposListOptions (#7813) 2020-01-17 09:50:48 +02:00
CONTRIBUTING.md fix: update broken link to code of conduct (#7781) 2020-01-15 13:45:14 -08:00
doc.go Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
go.mod gomod: update all (#7770) 2020-01-16 18:48:09 +02:00
go.sum gomod: update all (#7770) 2020-01-16 18:48:09 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js Fix copying integration assets (#7195) 2019-12-14 19:54:21 -05:00
jest.config.base.js Add MonacoQueryInput: search field with syntax highlighting, hovers, diagnostics (#7669) 2020-01-16 12:04:59 -05: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 Format logs from the Puppeteer browser console (#7856) 2020-01-17 18:43:24 +01:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md dev: Rename launch.sh to start.sh (#6889) 2019-11-27 17:12:18 +02:00
renovate.json Configure Beyang as owner of dev/release deps (#6555) 2019-11-12 22:27:01 +01:00
SECURITY.md Create SECURITY.md and link to security policy (#5220) 2019-08-22 21:39:20 -07:00
tsconfig.json Remove the management console (#7197) 2019-12-16 21:30:51 -07:00
tslint.config.js Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
yarn.lock Format logs from the Puppeteer browser console (#7856) 2020-01-17 18:43:24 +01: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/start.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.