Updated install readme and updated wrapper
This commit is contained in:
parent
cd8bf42c30
commit
a4c95dbf9c
14
README.md
14
README.md
@ -14,19 +14,15 @@ Configure new VM with following resources:
|
||||
* Minimal installation
|
||||
* Install openssh server
|
||||
|
||||
## Install (in SSH)
|
||||
* Log in via SSH
|
||||
## Install (client side)
|
||||
* Log in via SSH (or open desktop terminal)
|
||||
* Install git
|
||||
```
|
||||
sudo apt update && sudo apt -y install git
|
||||
sudo apt update && sudo apt -y install curl git
|
||||
```
|
||||
* Clone this repo
|
||||
* Install code_server
|
||||
```
|
||||
cd ~ && git clone https://git.cmtec.se/cm/code_server.git
|
||||
```
|
||||
* Run setup script
|
||||
```
|
||||
cd code_server && ./setup.sh
|
||||
curl https://git.cmtec.se/cm/code_server/-/raw/main/update_wrapper.sh?ref_type=heads | bash -s
|
||||
```
|
||||
* exit session
|
||||
* Log in via SSH
|
||||
|
||||
@ -4,6 +4,11 @@ if [ $EUID != 0 ]; then
|
||||
sudo "$0" "$@"
|
||||
fi
|
||||
|
||||
if [ ! -d ~/code_server ]; then
|
||||
cd ~ &&
|
||||
git clone https://git.cmtec.se/cm/code_server.git
|
||||
fi
|
||||
|
||||
if [ -d ~/code_server ]; then
|
||||
cd ~/code_server &&
|
||||
git pull &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user