Skip to content

Instantly share code, notes, and snippets.

@Sacristan
Last active June 21, 2018 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sacristan/f764770186cb1ff5bcaa693c5dc6509c to your computer and use it in GitHub Desktop.
Save Sacristan/f764770186cb1ff5bcaa693c5dc6509c to your computer and use it in GitHub Desktop.
Store3D WSL

Get Store3D

  • Ensure that git checkout as-is, commit as-is git config --global core.autocrlf false

  • Ensure that You have cloned Store3D correctly

WSL configuration

Run commands @ WSL, except where noted

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - && sudo apt-get install -y nodejs

  • Install Yarn

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 -y yarn

  • Install other dependencies

sudo apt-get install -y build-essential libfontconfig

sudo printf '#!/usr/bin/env bash\ndocker.exe $@' > /tmp/docker && sudo mv /tmp/docker /usr/local/bin/ && sudo chmod +x /usr/local/bin/docker

  • Enable HyperV Open Powershell as user and run

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

  • Install yarn dependencies
(cd viewer; yarn)
cp src/config/example.development.js src/config/development.js
yarn start

Launch: http://localhost:1337/

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