Commit c24807ef by Xavier Antoviaque Committed by David Baumgold

vagrant: Windows - Bind node_modules to a ext4 partition for symlinks

parent 2a656d0a
...@@ -57,7 +57,12 @@ chown vagrant.vagrant ~vagrant/.ssh/known_hosts ...@@ -57,7 +57,12 @@ chown vagrant.vagrant ~vagrant/.ssh/known_hosts
# edX - Development environment ############################################### # edX - Development environment ###############################################
chown vagrant.vagrant /opt/edx # Node modules require a filesystem with symlinks (Windows support)
mkdir -p /opt/edx/node_modules /opt/edx/edx-platform/node_modules
mount -o bind /opt/edx/node_modules /opt/edx/edx-platform/node_modules
# Permissions
chown vagrant.vagrant /opt/edx /opt/edx/node_modules /opt/edx/edx-platform/node_modules
# For convenience with `vagrant ssh`, the `edx-platform` virtualenv is always # For convenience with `vagrant ssh`, the `edx-platform` virtualenv is always
# loaded after the first run, so we need to deactivate that behavior to run # loaded after the first run, so we need to deactivate that behavior to run
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment