sg: document sg as default, clean up local-dev quickstart guide
Created by: mrnugget
This fixes https://github.com/sourcegraph/sourcegraph/issues/24964 and is the next step before we hard-deprecate ./enterprise/dev/start.sh
and ./dev/start.sh
this week. It can and should be merged before that.
This PR started out with me trying to document sg
as the default way to run the local environment, but it ended up being a bunch of things:
- It adds a new section to quickstart guide that explains how to install
sg
- It removes all mentions of
./dev/start.sh
and explains how to usesg start
in different incantations - It cleans up the "Install depenendencies" section because the whole "With Docker" and "Without Docker" and "asdf" was a bit of a mess
- It moves the "clone
dev-private
" step from the "start environment" step to the "get the code" step (where it should be)
I think these are all necessary changes. The quickstart grew a bit over the years and it was time to trim some of it back. Once we add more functionality to sg
(especially with https://github.com/sourcegraph/sourcegraph/issues/24900) it should hopefully collapse to a single page.
Anyway, here's Wonderwa a screenshot, because we all love screenshots: