Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Add initial contribution documentation #47

Merged
merged 1 commit into from
Sep 8, 2016
Merged

Add initial contribution documentation #47

merged 1 commit into from
Sep 8, 2016

Conversation

decentral1se
Copy link
Contributor

@decentral1se decentral1se commented Aug 31, 2016

Saw you folks were missing this one. Here's a start!

Closes #48.


git clone git@github.com:<your-username>/undebt.git

Getting Setup
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have make targets for each of these steps.

  • make venv
    • sets up virtualenv
    • worth adding a reminder to source venv/bin/activate
  • make dev
    • all of the above + requirements-dev.txt
  • make test
    • all of the above + runs tests
    • worth noting that once make dev has been run and you are in the virtualenv, you can use tox -e <my-env> to run tests for just one python, etc

@evhub
Copy link
Contributor

evhub commented Aug 31, 2016

This won't automatically show up in index.rst unless you add it to the table of contents there.

@decentral1se
Copy link
Contributor Author

decentral1se commented Aug 31, 2016

... add it to the table of contents there.

It's there?

https://github.com/Yelp/undebt/pull/47/files#diff-8aa79b83ed86e48962cc94787fc5cb56R16

@evhub
Copy link
Contributor

evhub commented Aug 31, 2016

@lwm Ah, looks good--didn't see that.

@decentral1se
Copy link
Contributor Author

bump! This is good to go or?


.. code-block:: bash

make dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a note after this code block reminding people to source their virtualenv?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajm188
Copy link
Contributor

ajm188 commented Sep 6, 2016

@lwm Pending my issues, I'm happy, but I'd like @evhub to give a stamp of approval as well before merging


.. _`virtual environment`: http://docs.python-guide.org/en/latest/dev/virtualenvs/

Both can be achieved by running:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is "both" referring to here? I only see one thing above that make dev does, and that's set up your virtual environment.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "both" == "creating virtualenv" + "install project deps"

But I agree this could probably be worded better.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/better/more clearly

@evhub
Copy link
Contributor

evhub commented Sep 6, 2016

@ajm188 lgtm

@ajm188
Copy link
Contributor

ajm188 commented Sep 8, 2016

lgtm. merging

@ajm188
Copy link
Contributor

ajm188 commented Sep 8, 2016

thanks @lwm!

@ajm188 ajm188 merged commit 570e0e9 into Yelp:master Sep 8, 2016
@decentral1se decentral1se deleted the contrib-docs branch September 9, 2016 08:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants