gnclmorais / setup-distro-for-js

Setup a Debian-based distro for JavaScript development with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup-distro-for-js status

Setup a Linux distro for JavaScript development by running this script! If you want to know what gets run, you can quickly look at the dist script that everything compiles to.

TL;DR

Paste & execute the following on your Ubuntu terminal

wget -O - https://raw.githubusercontent.com/gnclmorais/setup-distro-for-js/main/dist/all.sh | bash

Sharing folders

Based on these helpful instructions by @darrenpmeyer, here is the gist of it:

  1. With your VM on, make sure the folder /mnt/hgfs exists by running sudo mkdir /mnt/hgfs
  2. Edit /etc/fstab with sudo vim /etc/fstab, adding the following line to the bottom of the file and saving it:
    .host:/	/mnt/hgfs	fuse.vmhgfs-fuse	auto,allow_other	0	0
    
  3. Turn the VM off now
  4. Create a folder on your macOS that you want to use as a read-only place for the VM
  5. On the VM window, still off, go to Virtual Machine, pick Sharing, then Sharing Settings
  6. Check Enable Shared Folders, click the plus icon and pick the folder you created on step 4
  7. Turn your VM on now, and you should be able to see your folder when you do ls /mnt/hgfs on a terminal!

About

Setup a Debian-based distro for JavaScript development with ease

License:MIT License


Languages

Language:Shell 92.0%Language:Makefile 8.0%