Update readme to be more relevant to today

This commit is contained in:
Amarpreet Minhas 2021-05-15 16:53:02 -04:00
parent 9a1f4a6fcf
commit 5a28d214f2

View file

@ -4,7 +4,7 @@
### Setup
Install steps are for Debian 9 (stretch)
Install steps are for Debian 11 (bullseye)
1. Install docker-ce
```
@ -26,12 +26,10 @@ Install steps are for Debian 9 (stretch)
sudo apt-get install docker-ce docker-ce-cli containerd.io
```
2. Install golang 1.11
2. Install golang
```
# stretch doesn't have the latest golang so we install backports
sudo add-apt-repository "deb http://deb.debian.org/debian stretch-backports main"
sudo apt-get update
sudo apt-get -t stretch-backports install golang
sudo apt-get install golang
# set the gopath manually for the rest of the setup
export GOPATH=${HOME}/go
```
@ -57,10 +55,12 @@ Install steps are for Debian 9 (stretch)
```
# make sure your user is in the docker group
sudo usermod -aG docker $(whoami)
# make sure you have some postgres client installed
sudo apt-get install postgres-client
docker pull postgres
docker run --name sudosci-db -e POSTGRES_PASWORD=${DB_ADMIN_PW} -d postgres # please set the db admin pw manually
docker run -e POSTGRES_PASSWORD=${DB_ADMIN_PW} --name sudosci-db -d postgres
# Initalize the postgres DB
cd ${GOPATH}/src/git.minhas.io/asara/sudoscientist
for i in settings/*; do source $i; done