Code AI platform with Code Search & Cody
Go to file
Quinn Slack 1cc218f8de
New welcome page (homepage) for Sourcegraph.com (#1975)
* remove scrolling effects

* remove forced dark theme and custom colors

* move MainPage and related to enterprise/dotcom/welcome

* rename /start to /welcome

The name /welcome better conveys that it is for first-time users, not the page where you start each session.

* create WelcomeArea with common header

* extract company logos

* factor out welcome footer

* clean up HTML for welcome main page

* redirect self-hosted instance /welcome to sourcegraph.com/welcome

* update copy on main page
2019-02-11 16:26:22 +13:00
.github more granular code ownership 2019-02-04 16:16:58 +01:00
.vscode use jest for testing (#1456) 2018-12-16 18:13:40 -08:00
client Try updating settings once more if there was a version mismatch (#2189) 2019-02-08 00:26:24 -08:00
cmd New welcome page (homepage) for Sourcegraph.com (#1975) 2019-02-11 16:26:22 +13:00
dev fix bug in docsite check template with zero headings (#2213) 2019-02-09 06:18:59 +13:00
doc format 2019-02-08 16:13:40 -08:00
enterprise Faster GitLab authz (#2098) 2019-02-08 10:42:13 -08:00
migrations Depend on upstream migrate library again (#2118) 2019-02-01 18:44:05 +01:00
packages make sourcegraph.Location fields readonly (#1696) 2019-01-11 11:35:58 -08:00
pkg add docker-specific help message when ulimit is too low (#2225) 2019-02-08 16:07:41 -08:00
schema remove unused/deprecated site config options (#2171) 2019-02-06 00:21:46 -08:00
shared New welcome page (homepage) for Sourcegraph.com (#1975) 2019-02-11 16:26:22 +13:00
ui/assets UI Updates (#1783) 2019-01-11 17:46:36 -08:00
web New welcome page (homepage) for Sourcegraph.com (#1975) 2019-02-11 16:26:22 +13: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
.gitattributes graphqlbackend: Set generated gitattr for schema.go 2018-12-03 20:35:11 +02:00
.gitignore Switch management console to yarn 2018-12-21 15:53:52 +01: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 add simple React snapshot tests for shared components (#1457) 2018-12-16 19:01:26 -08: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
CHANGELOG.md add docker-specific help message when ulimit is too low (#2225) 2019-02-08 16:07:41 -08: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 New welcome page (homepage) for Sourcegraph.com (#1975) 2019-02-11 16:26:22 +13:00
go.sum New welcome page (homepage) for Sourcegraph.com (#1975) 2019-02-11 16:26:22 +13:00
graphql-schema-linter.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
gulpfile.ts use single root package.json, do not build intermediate shared code (#936) 2018-11-12 01:05:35 -08:00
jest.config.base.js add storybook stories for ActionItem and Toggle (#1698) 2019-01-07 23:44:08 -08:00
jest.config.js use jest for testing (#1456) 2018-12-16 18:13:40 -08: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 New welcome page (homepage) for Sourcegraph.com (#1975) 2019-02-11 16:26:22 +13:00
prettier.config.js Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
README.md Revert^4 "use nginx as HTTP proxy (#929)" 2019-01-13 14:07:53 +02:00
renovate.json Remove Renovate includePaths: enterprise 2018-11-06 16:12:08 +01:00
tsconfig.json use jest for testing (#1456) 2018-12-16 18:13:40 -08:00
tslint.json Add and enforce custom select component (#1619) 2019-01-11 17:00:57 +01:00
yarn.lock New welcome page (homepage) for Sourcegraph.com (#1975) 2019-02-11 16:26:22 +13: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
  • 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.