This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
brew install sourcegraph #2712
Open
Description
Feature request description
On Macs, it would be nice to be able to install and run sourcegraph like this:
brew install sourcegraph
brew services start sourcegraph
Is your feature request related to a problem? If so, please describe.
The current way of doing this requires a special incantation involving docker run that no one is likely to guess. The user would have to run it again in the event of a reboot.
Adding sourcegraph to brew would make it easier for potential users with Macs to try out sourcegraph locally. Some people might also discover sourcegraph by serendipity this way.
Describe alternatives you've considered.
The typical way to do it on a Mac would be something like this:
brew cask install docker
docker run --publish 7080:7080 --publish 2633:2633 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.1.2