The Wayback Machine - https://web.archive.org/web/20220505175112/https://github.com/sourcegraph/about
Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sourcegraph about.sourcegraph.com website

Uses Gatsby for rendering a static site that is built and deployed with Netlify.

Quick start

What Command
Auto-preview about.sourcegraph.com cd website && yarn && yarn dev
Final review about.sourcegraph.com cd website && yarn && yarn build && yarn serve

Requirements

Gatsby requires Node.js, and we recommend using yarn for installing packages.

Developing locally

Developing the static site locally is separate from developing the handbook. Read the Handbook section to learn how to develop the handbook locally.

In a terminal, change into the website directory, and run the install script:

./script/install.sh

This will check that you have the correct version of Node installed, and install the dependeny versions pinned in the lockfile.

Then to serve the site, you have two options:

  1. To serve the static (built) version of the website (good for final review):
yarn serve
  1. To serve the site using the development server with auto-compiling and page reloading:
yarn dev

Publishing a blog post

We want and encourage everyone at Sourcegraph to contribute to the blog. If you'd like to write for the blog, please check out how to propose a blog post in the Editorial handbook.

Handbook

The Sourcegraph handbook now lives in https://github.com/sourcegraph/handbook and is hosted under https://handbook.sourcegraph.com.