Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
howto:docker [2021/02/24 15:41] – [Installing Ubuntu Server] hub | howto:docker [2021/02/24 15:52] – [Remote Editing] hub |
---|
===== Installing Docker ===== | ===== Installing Docker ===== |
| |
I'm using the [[https://docs.docker.com/engine/install/ubuntu/|instructions from docker.com]] here for x86_64, you can use the instructions on that site for other platforms. | The instructions in this section are copied from docker.org for x86_64, for other platforms [[https://docs.docker.com/engine/install/ubuntu/|click here]]. |
| |
If using a VPS with root, you can omit the //sudo// portion of the commands below. | If using a VPS with root, you can omit the //sudo// portion of the commands below. |
===== Remote Editing ===== | ===== Remote Editing ===== |
| |
In order to make life easier, I would recommend installing [[https://code.visualstudio.com/download|Visual Studio Code]] and then install the [[https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack|Remote Development]] extension pack, which will allow for SSH and WSL remote editing. | In order to make life easier, you may consider installing [[https://code.visualstudio.com/download|Visual Studio Code]] and then install the [[https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack|Remote Development]] extension pack, which will allow for SSH and WSL remote editing. |
| |
I have the following contents in //~/sbbs/.vscode/settings.json// in order to make dealing with BBS (code page 437) formatted files a bit easier. This allows me to hit F1, type `Remote-SSH` and see a list of options for connecting to remote ssh hosts. | The following contents in //sbbs/.vscode/settings.json// will make using VS Code easier and align well with the files in your //sbbs// directory. |
| |
{ | { |
"files.encoding": "cp437", | |
"editor.rulers": [ | |
76, | |
80 | |
], | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2, | |
"editor.renderControlCharacters": true, | |
"files.associations": { | "files.associations": { |
"*.ssjs": "javascript" | "*.ssjs": "javascript", |
}, | }, |
"[javascript]": { | "[javascript]": { |
"editor.defaultFormatter": "vscode.typescript-language-features", | "editor.defaultFormatter": "vscode.typescript-language-features", |
"editor.renderControlCharacters": false, | |
"files.encoding": "utf8", | |
}, | }, |
"[json]": { | "[plaintext]": { |
"files.encoding": "utf8", | "files.encoding": "cp437", |
"editor.renderControlCharacters": false, | "editor.renderControlCharacters": true, |
}, | |
"[css]": { | |
"files.encoding": "utf8", | |
"editor.renderControlCharacters": false, | |
}, | |
"[html]": { | |
"files.encoding": "utf8", | |
"editor.renderControlCharacters": false, | |
}, | |
"[ini]": { | |
"files.encoding": "utf8", | |
"editor.renderControlCharacters": false, | |
} | } |
} | } |
| |
===== See Also ===== | ===== See Also ===== |
* [[:howto:|howto index]] | * [[:howto:|howto index]] |