Skip to content

Commit b3aa0f1

Browse files
committed
added a little bit of detail about contributing code and docs
1 parent 06b5b5f commit b3aa0f1

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,37 @@
11
# twarc
22

3-
![Build Status](https://github.com/docnow/twarc/workflows/tests/badge.svg)
3+
[![Build Status](https://github.com/docnow/twarc/workflows/tests/badge.svg)](https://github.com/DocNow/twarc/actions/workflows/main.yml)
44

55
Collect data at the command line from the Twitter API (v1.1 and v2).
66

77
* Read the [documentation](https://twarc-project.readthedocs.io)
88
* Ask questions in [Slack](https://bit.ly/docnow-slack) or [Matrix](https://matrix.to/#/#docnow:matrix.org?via=matrix.org&via=petrichor.me&via=converser.eu)
9+
10+
## Contributing
11+
12+
## Documentation
13+
14+
The documentation is managed at ReadTheDocs. If you would like to improve the documentation you can edit the Markdown files in `docs` or add new ones. Then send a pull request and we can add it.
15+
16+
If you prefer you can create a page on the [wiki](https://github.com/docnow/twarc/wiki/) to workshop the documentation, and then when/if you think it's ready to merged with the documentation create an [issue](https://github.com/docnow/twarc/issues). Please feel free to create whatever documentation is useful in the wiki area.
17+
18+
## Code
19+
20+
If you are interested in adding functionality to twarc or fixing something that's broken here are the steps to setting up your development environment:
21+
22+
git clone https://github.io/docnow/twarc
23+
cd twarc
24+
25+
Create a .env file that included Twitter App keys to use during testing:
26+
27+
BEARER_TOKEN=CHANGEME
28+
CONSUMER_KEY=CHANGEME
29+
CONSUMER_SECRET=CHANGEME
30+
ACCESS_TOKEN=CHANGEME
31+
ACCESS_TOKEN_SECRET=CHANGEME
32+
33+
Now run the tests:
34+
35+
python setup.py test
36+
37+
Add your code and some new tests, and send a pull request!

0 commit comments

Comments
 (0)