Skip to content

Files

Latest commit

a9e7332 · Oct 29, 2019

History

History
15 lines (9 loc) · 638 Bytes

Readme.md

File metadata and controls

15 lines (9 loc) · 638 Bytes

https://github.com/alexjball/share-space

Run Share Space environments using Vagrant.

Environments are defined in the Vagrantfile, and environment-specific flags are set in .${ENV}rc.

Bring up an environment: vagrant up $ENV

Build and run the stack: vagrant provision $ENV --provision-with=stack-build,stack-up

Stop the stack: vagrant provision $ENV --provision_with=stack-down

On up, the environment clones the share space repo pointed to by $PROJECT_REPO and hands off to the repo's install script. To edit the code in that clone, mount it with ./run-host mount-env $ENV. This will mount e.g. dev to ./dev using NFS.