Update readme to be more relevant to today
This commit is contained in:
parent
9a1f4a6fcf
commit
5a28d214f2
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -4,7 +4,7 @@
|
|||
|
||||
### Setup
|
||||
|
||||
Install steps are for Debian 9 (stretch)
|
||||
Install steps are for Debian 11 (bullseye)
|
||||
|
||||
1. Install docker-ce
|
||||
```
|
||||
|
@ -20,18 +20,16 @@ Install steps are for Debian 9 (stretch)
|
|||
Key fingerprint = 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
|
||||
Docker Release (CE deb) <docker@docker.com>
|
||||
sub 4096R/F273FCD8 2017-02-22
|
||||
# ----------
|
||||
# ----------
|
||||
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
|
||||
sudo apt-get update
|
||||
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
|
||||
|
|
Reference in a new issue