GithubHelp home page GithubHelp logo

rhildred / devtdesktop Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 25 KB

This is my current development environment bootstrap to be run with curl

Home Page: https://rhildred.github.io/devtdesktop

License: MIT License

Shell 100.00%
ec2 docker docker-compose xrdp curl chrome vscode

devtdesktop's Introduction

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) <your desired username here>

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.

devtdesktop's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.