Use Vagrant to initalize and provision a consistent development environment #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Instead of having to worry about which versions of
npm,compass,sass, and the various Python and Node.js requirements, we can just use Vagrant to provide a consistent environment for development and (possibly) in production.The Getting Started section in the README.md updates of this pull request provide instructions on how to work on the runtime under Vagrant, but basically require you to do the following:
~/.ssh/config;vagrant upvagrant sshWhen you ssh into the box, the
.profilefile that's copied over will activate the runtime virtualenv and put you in the right directory (/home/vagrant/runtime).Until we move to a non-Flask specific command line interface (merging the feature/docopts branch would be a good start), you'll need to manually set the host when running the debug server by issuing the following command: