Code AI platform with Code Search & Cody
Go to file
Christina Forney c0af7825c0
Create SECURITY.md and link to security policy (#5220)
* Create SECURITY.md and link to security policy

* Adding SECURITY.md to codeowners
2019-08-22 21:39:20 -07:00
.buildkite/hooks CI: add comment to post-checkout script (#2827) 2019-03-18 23:46:05 -07:00
.github Create SECURITY.md and link to security policy (#5220) 2019-08-22 21:39:20 -07:00
.storybook Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
.vscode prefer using the Prisma GraphQL VS Code extension (#5268) 2019-08-18 04:05:33 -07:00
browser Improve Phabricator e2e tests (#5284) 2019-08-21 13:09:01 +02:00
client mv client/browser browser (#3826) 2019-05-06 19:36:03 +02:00
cmd Release Sourcegraph v3.7.1 (#5338) 2019-08-22 14:03:04 -07:00
dev add option for allowing temp edits when using *_CONFIG_FILE env vars (#5203) 2019-08-14 16:44:20 -07:00
doc release issue template: Use deploy-k8s helper (#5231) 2019-08-22 15:13:52 -07:00
docker-images ci: Move Docker labels declaration inside Dockerfile (#2813) 2019-03-18 17:49:29 -07:00
enterprise ci: add gcloud docker configure command (#5324) 2019-08-21 14:31:17 -07:00
lsif lsif: Update yarn.lock (#5330) 2019-08-22 15:44:03 +02:00
migrations add default_repos table and use it if it is nonempty and the repo: field is missing (#5062) 2019-08-02 13:41:45 -07:00
packages Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
pkg globalstatedb: Skip Bcrypt test if -short (#5314) 2019-08-20 13:37:19 +02:00
schema Add regex pattern for corsOrigin setting (#4997) 2019-08-22 21:19:00 +02:00
shared Improve Phabricator e2e tests (#5284) 2019-08-21 13:09:01 +02:00
ui/assets simplify Activation{Dropdown,Checklist} styles (#4538) 2019-06-16 19:44:30 -07:00
web Add some e2e release tests for search (#5302) 2019-08-22 20:04:02 -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
.eslintrc.js remove custom Select element (#5257) 2019-08-17 19:59:17 -07:00
.gitattributes repo-updater: Collapse testdata files in PRs (#3999) 2019-05-15 10:26:45 +02:00
.gitignore add envrc to gitignore (#4628) 2019-06-20 16:21:23 -07: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
.prettierignore mv client/browser browser (#3826) 2019-05-06 19:36:03 +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
babel.config.js use Babel instead of ts-jest to speed up and simplify tests (#3959) 2019-07-25 01:38:25 -07:00
CHANGELOG.md Release Sourcegraph v3.7.1 (#5338) 2019-08-22 14:03:04 -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 update zoekt (#5321) 2019-08-21 18:43:54 +02:00
go.sum update zoekt (#5321) 2019-08-21 18:43:54 +02:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.ts Bitbucket server integration (#4686) 2019-06-28 15:19:08 +02:00
jest.config.base.js use Babel instead of ts-jest to speed up and simplify tests (#3959) 2019-07-25 01:38:25 -07:00
jest.config.js mv client/browser browser (#3826) 2019-05-06 19:36:03 +02: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 css-loader to ^3.2.0 (#5103) 2019-08-23 01:00:02 +02:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md Update README wording (#5000) 2019-07-31 22:42:59 -07:00
renovate.json renovate: Add label "bot" to PRs (#4748) 2019-07-01 14:57:57 +02:00
SECURITY.md Create SECURITY.md and link to security policy (#5220) 2019-08-22 21:39:20 -07:00
tsconfig.json Update dependency @sourcegraph/prettierrc to v3 (#3974) 2019-05-13 13:17:09 -07:00
tslint.config.js Migrate to ESLint 🔧 (#5072) 2019-08-06 03:39:54 +02:00
yarn.lock Update dependency css-loader to ^3.2.0 (#5103) 2019-08-23 01:00:02 +02: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.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 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/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.