Code search and intelligence, self-hosted and scalable
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github update owners Jan 16, 2019
.vscode use jest for testing (#1456) Dec 17, 2018
client In browser extension, make all GraphQL api requests from background p… Jan 21, 2019
cmd frontend: Allow setting CACHE_DIR Jan 22, 2019
dev all: Replace godockerize with Dockerfiles (#1976) Jan 22, 2019
doc doc/admin/repo: s/repo URI/repo name Jan 22, 2019
enterprise ci: Upgrade hadolint to v1.15.0 Jan 22, 2019
migrations add empty migration Jan 13, 2019
packages make sourcegraph.Location fields readonly (#1696) Jan 11, 2019
pkg treat naked RevisionNotFoundError as 404 Jan 17, 2019
schema gitolite: specify phabricator host in addition to callsign command (#… Jan 15, 2019
shared Fix #1327: make sure to pass getModeFromPath() a filePath and not a u… Jan 22, 2019
ui/assets UI Updates (#1783) Jan 12, 2019
web fix #1984: use popoverRef and not rootRef to hide PopoverButton on ou… Jan 22, 2019
.dockerignore server: Use Dockerfile and build script instead of godockerize (#1971) Jan 21, 2019
.editorconfig Publish Sourcegraph as open source 🚀 Oct 1, 2018
.gitattributes graphqlbackend: Set generated gitattr for schema.go Dec 3, 2018
.gitignore Switch management console to yarn Dec 21, 2018
.gitmodules Publish Sourcegraph as open source 🚀 Oct 1, 2018
.mailmap Publish Sourcegraph as open source 🚀 Oct 1, 2018
.prettierignore add simple React snapshot tests for shared components (#1457) Dec 17, 2018
.stylelintrc.json Publish Sourcegraph as open source 🚀 Oct 1, 2018
.yarnrc Use npmjs.org instead of yarnpkg.com (#926) Nov 10, 2018
CHANGELOG.md update docs for 3.0.0-beta (#1897) Jan 15, 2019
CONTRIBUTING.md fix: broken link to code of conduct in CONTRIBUTING.md (#1230) Dec 4, 2018
LICENSE enterprise license Oct 27, 2018
LICENSE.apache enterprise license Oct 27, 2018
README.md Revert^4 "use nginx as HTTP proxy (#929)" Jan 13, 2019
doc.go Publish Sourcegraph as open source 🚀 Oct 1, 2018
go.mod all: Replace godockerize with Dockerfiles (#1976) Jan 22, 2019
go.sum Include go.sum changes from go mod vendor Jan 22, 2019
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 Oct 1, 2018
gulpfile.ts use single root package.json, do not build intermediate shared code (#… Nov 12, 2018
jest.config.base.js add storybook stories for ActionItem and Toggle (#1698) Jan 8, 2019
jest.config.js use jest for testing (#1456) Dec 17, 2018
package.json Update dependency @sourcegraph/stylelint-config to ^1.1.0 (#1889) Jan 15, 2019
prettier.config.js Publish Sourcegraph as open source 🚀 Oct 1, 2018
renovate.json Remove Renovate includePaths: enterprise Nov 6, 2018
tsconfig.json use jest for testing (#1456) Dec 17, 2018
tslint.json Add and enforce custom select component (#1619) Jan 11, 2019
yarn.lock Update dependency @sourcegraph/stylelint-config to ^1.1.0 (#1889) Jan 15, 2019

README.md

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

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