Skip to content

Commit

Permalink
README: Minor changes for vscode HOME directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rioastamal committed Oct 23, 2023
1 parent ebc262a commit b7cbbf6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ Command above will automatically install and configure following software packag
- [code-server](https://github.com/coder/code-server)
- [Caddy](https://caddyserver.com/)

Once the installation is complete you can access your VS Code via HTTPS URL, e.g: `https://vscode.example.com`. To view the password, you can check `$HOME/.config/code-server/config.yaml` on host machine.
Once the installation is complete you can access your VS Code via HTTPS URL, e.g: `https://vscode.example.com`. To view the password, you can check `home/vscode/.config/code-server/config.yaml` on host machine.

```sh
cat $HOME/.config/code-server/config.yaml
cat /home/vscode/.config/code-server/config.yaml
```

### Table of contents
Expand Down Expand Up @@ -122,7 +122,7 @@ Now your VS Code should be available at `https://1.2.3.4.nip.io`.
## How to change the password?

To change your VS Code password, on the host machine edit a config file located at `$HOME/.config/code-server/config.yaml`.
To change your VS Code password, edit a config file located at `/home/vscode/.config/code-server/config.yaml`.

```
bind-addr: 127.0.0.1:8080
Expand All @@ -131,10 +131,10 @@ password: YOUR_NEW_PASSWORD_HERE
cert: false
```

Save the file and restart the container.
Save the file and restart the code-server.

```
sudo docker restart code-server
sudo systemctl restart code-server@vscode
```

## Changelog
Expand Down

0 comments on commit b7cbbf6

Please sign in to comment.