Skip to content

Instantly share code, notes, and snippets.

@DustinAlandzes
Created January 10, 2019 02:21
Show Gist options
  • Save DustinAlandzes/2ad2fac05264aa9ef0ef56a136b2c08e to your computer and use it in GitHub Desktop.
Save DustinAlandzes/2ad2fac05264aa9ef0ef56a136b2c08e to your computer and use it in GitHub Desktop.

On Windows: Install VirtualBox and create a VM

allow symlinks in the shared folder (for yarn)

Install Docker and Docker-Compose

sudo apt-get update

sudo apt-get install \
     apt-transport-https \
     ca-certificates \
     curl \
     gnupg2 \
     software-properties-common
     
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"
   
sudo apt-get update
 
sudo apt-get install docker-ce
 
sudo docker run armhf/hello-world
 
curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

docker-compose --version

Install yarn and node

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn


curl -sL https://deb.nodesource.com/setup_11.x | bash -
apt-get install -y nodejs

I also had to disable ipv6 on apt-get (maybe I could do it system wide)

Now clone the repos into the shared folder!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment