mirror of https://github.com/docker/compose.git
1.1 KiB
1.1 KiB
Contributing to Fig
If you're looking contribute to Fig but you're new to the project or maybe even to Python, here are the steps that should get you started.
- Fork https://github.com/orchardup/fig to your username. kvz in this example.
- Clone your forked repository locally
git clone git@github.com:kvz/fig.git
. - Enter the local directory
cd fig
. - Set up a development environment
python setup.py develop
. That will install the dependencies and set up a symlink from yourfig
executable to the checkout of the repo. So from any of your fig projects,fig
now refers to your development project. Time to start hacking : ) - Works for you? Run the test suite via
./scripts/test
to verify it won't break other usecases. - All good? Commit and push to GitHub, and submit a pull request.
Running the test suite
$ script/test
Building binaries
Linux:
$ script/build-linux
OS X:
$ script/build-osx
Note that this only works on Mountain Lion, not Mavericks, due to a bug in PyInstaller.