Skip to content

Commit

Permalink
reduce friction to create environment
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiroy committed Nov 28, 2017
1 parent fb467aa commit 47a8cdc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -23,6 +23,10 @@ Anything else - [search open issues](https://github.com/github/markup/issues) or
5. Open a [Pull Request][1]
6. Enjoy a refreshing Diet Coke and wait

**dependencies**

You can run `script/bootstrap.contrib` to fetch them all.

## Testing

To run the tests:
Expand Down
15 changes: 15 additions & 0 deletions script/bootstrap.contrib
@@ -0,0 +1,15 @@
#!/bin/bash

set -e

cd $(dirname "$0")/..

bundle install --path vendor/bundle
virtualenv vendor/python && source vendor/python/bin/activate
pip install docutils

echo ""
echo "*** DONE ***"
echo ""
echo "activate python environment with 'source vendor/python/bin/activate'"
echo "run tests with 'bundle exec rake'"

0 comments on commit 47a8cdc

Please sign in to comment.