https://github.com/rhildred/devtdesktop
This is my current development environment bootstrap to be run with curl
https://github.com/rhildred/devtdesktop
chrome curl docker docker-compose ec2 vscode xrdp
Last synced: about 1 month ago
JSON representation
This is my current development environment bootstrap to be run with curl
- Host: GitHub
- URL: https://github.com/rhildred/devtdesktop
- Owner: rhildred
- License: mit
- Created: 2018-10-27T20:26:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T23:40:58.000Z (about 7 years ago)
- Last Synced: 2025-02-17T12:45:21.325Z (12 months ago)
- Topics: chrome, curl, docker, docker-compose, ec2, vscode, xrdp
- Language: Shell
- Homepage: https://rhildred.github.io/devtdesktop
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# devtdesktop
This is my current development environment bootstrap to be run with curl to set up a user with sudo and docker groups. I use it instead of carrying a laptop between my 3 teaching gigs.
Start up a Ubuntu Amazon instance and run:
`bash <(curl https://rhildred.github.io/devtdesktop/toaster.sh) `
Sadly I can't find a way to get visual studio code without using chrome. I did install Chrome as a way of getting Visual Studio Code and instructions for most everything else. Download Visual Studio Code with chrome and install it with gdebi. Something like `sudo gdebi ~/Downloads/code........deb`
Also sadly, I tried this with Ubuntu 18.04 and it was very slow. I tried the exact thing with 16.04 and it is fine. With Ubuntu 16.04 there was a hack that I needed to get vscode working. I had to edit the elf file `/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0` and change the one occurence of the word `BIG` to `FIG`. You couldn't make something like this up.
Mate with xrdp and Ubuntu 16.04 doesn't deal with `alt-tab` properly. I couldn't find an acceptable fix.
Once VSCode was installed I also installed extensions ritwickdey.liveserver and streetsidesoftware.code-spell-checker.
I used `nvm ls-remote` to find the latest nvm version. Then I did `nvm install x.x.x` to install it.
Sadly, there are problems with this. Xrdp auto-install breaks it so I need to revert every time I use it. My plan is to shut this down in favour of my rhlab.io project built on docker-compose-ui. I really just need "edit in vscode on the web" for that to work. It looks like that is do-able by replacing node builtins used by vscode like fs with shim modules like fs-remote.