Code AI platform with Code Search & Cody
Go to file
Valery Bugakov 7cf15290a2
web: moved Storybook config into a new package (#19569)
* web: moved Storybook config into a new package

* web: added storybook package to client/README

* web: checkin @types/terser-webpack-plugin

* web: yarn deduplicate

* web: prettier

* web: yarn.lock carriage-return

* web: yarn deduplicate

* web: removed redundant eslint command

* web: restored manager-head.html

* web: removed @storybook/core-common dependency for now

* web: moved cover-storybook back to root package.json

* web: updated stories glob

* web: fixed babel-plugin-istanbul cwd

* web: added storybook workspace to exclude list in nyc config

* web: removed redundant change
2021-04-08 17:16:26 +08:00
.buildkite ci: add trigger for k8s.sgdev.org image updates (#19640) 2021-03-31 23:41:51 +00:00
.github web: Team Labeler Github action (#19741) 2021-04-08 16:42:43 +08:00
.vscode web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
client web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
cmd release: sourcegraph@3.26.2 (#19790) 2021-04-07 20:18:37 -07:00
dev web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
doc search: add count:all (#19756) 2021-04-08 10:44:03 +02:00
docker-images monitoring: Alert on invalid indexes (#19694) 2021-04-06 09:14:03 -05:00
enterprise release: sourcegraph@3.26.2 (#19790) 2021-04-07 20:18:37 -07:00
internal search: add count:all (#19756) 2021-04-08 10:44:03 +02:00
lib all: update all go.sum files (#19124) 2021-03-15 06:39:19 +00:00
migrations codeintel: Split lsif payloads into independent columns (#19659) 2021-04-07 19:14:24 -05:00
monitoring monitoring: Alert on invalid indexes (#19694) 2021-04-06 09:14:03 -05:00
schema perforce: support internal rate limiter (#19751) 2021-04-08 01:02:07 +08:00
third-party-licenses add sourcegraph/codeintelutils into sourcegraph/sourcegraph (#18665) 2021-03-01 14:38:18 -08:00
ui/assets web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
.dockerignore web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
.editorconfig Hide monaco cursor in Chromatic and Percy (#13643) 2020-09-04 23:29:27 +02:00
.eslintignore web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
.eslintrc.js Refactor relative cross-package imports to absolute ones via package name (#19672) 2021-04-06 19:40:59 +08:00
.gitattributes monitoring: mark monitoring API docs as generated (#17088) 2021-01-06 21:24:48 +08:00
.gitignore Move sg.config.yaml to repo root & allow private overwrites (#19487) 2021-03-29 10:14:53 +02:00
.gitmodules Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.golangci.yml Replace .golangci.yml with .golangci.enforced.yml (#19568) 2021-03-30 17:43:56 -06:00
.graphqlconfig prefer using the Prisma GraphQL VS Code extension (#5268) 2019-08-18 04:05:33 -07:00
.mailmap Add Camden to mailmap (#19488) 2021-03-26 16:32:13 +00:00
.mocharc.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
.nvmrc Update Node.js to v14.15.4 (#16981) 2021-01-06 14:46:23 +01:00
.percy.yml web: move Percy-specific CSS to Percy config file (#18551) 2021-02-22 16:28:28 -08:00
.prettierignore web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
.stylelintignore docs: extension architecture (#15679) 2020-12-02 21:17:24 -05:00
.stylelintrc.json Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
.tool-versions tool-versions: update github-cli (#19619) 2021-03-31 12:55:36 -07:00
.yarnrc Ignore workspace root check (#19608) 2021-03-31 15:30:11 +01:00
babel.config.js web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
CHANGELOG.md search: add count:all (#19756) 2021-04-08 10:44:03 +02:00
CODENOTIFY Deglobalize CODENOTIFY settings for eseliger (#16710) 2020-12-14 15:50:22 +01: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 Add MountedKey encryption.Key implementation (#19613) 2021-04-01 13:02:00 +01:00
go.sum Add MountedKey encryption.Key implementation (#19613) 2021-04-01 13:02:00 +01:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.js gulp: disable graphql-codegen's watch feature (#16411) 2020-12-07 10:22:35 +01:00
jest.config.base.js web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
jest.config.js web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
LICENSE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.apache Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
LICENSE.enterprise clarify license (#2543) 2019-03-03 16:39:46 +08:00
package.json web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
postcss.config.js Implement new toggle components (#13774) 2020-09-11 17:43:08 -04:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md dev: remove nginx (#13299) 2021-02-18 14:38:58 +00:00
renovate.json Don't open Renovate PRs for typescript nightly (#13378) 2020-08-26 21:19:05 +02:00
SECURITY.md consolidate security policy (#7906) 2020-01-21 10:03:11 -08:00
sg.config.yaml sg: allow running enterprise env with sg, flesh out TODO/Inspiration/Quickstart/Hacking in README (#19643) 2021-04-01 11:59:48 +00:00
tsconfig.all.json web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
tsconfig.json web: flatten frontend packages inside of the client folder (#19378) 2021-03-26 15:35:26 +08:00
yarn.lock web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08: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.15 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn

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. Initialize the PostgreSQL database

  2. Ensure Docker is running

  3. Configure the HTTPS reverse proxy

  4. Start the development server

    ./dev/start.sh
    

Sourcegraph should now be running at https://sourcegraph.test:3443.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

The doc directory 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 client/web/src/enterprise directories.

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