From 9ece57e716c3a7d1468994624bb113e12ac1b2d1 Mon Sep 17 00:00:00 2001 From: Dhriti Shikhar Date: Mar 10 2016 21:16:47 +0000 Subject: Removes redudent instructions in README.md for fas_credentials.py and credentials.py --- diff --git a/README.rst b/README.rst index 3117649..bd86786 100644 --- a/README.rst +++ b/README.rst @@ -33,21 +33,6 @@ OK -- with that done, now install the dependencies from PyPI:: $ pip install -r requirements.txt -Give fedora-hubs some FAS credentials. It's going to need these to query FAS -for information about other users. When we deploy this thing to production, -we'll use a system account for this but for now, just use your personal -account. Copy the following into a new file under the fedmsg.d directory -called fas_credentials.py (``fedmsg.d/fas_credentials.py``) :: - - config = { - 'fas_credentials': { - 'username': 'YOUR_FAS_USERNAME_GOES_HERE', - 'password': 'YOUR_FAS_PASSWORD_GOES_HERE', - } - } - -Make sure to leave the '' around you username and password - don't delete them! - With that, try running the app with:: $ PYTHONPATH=. python populate.py # To create the db @@ -84,9 +69,11 @@ Some credentials... ------------------- You need to add a new file to the ``fedmsg.d/`` directory. -Call it ``fedmsg.d/credentials.py``. It should have some -secrets in it that you don't want to accidentally share with -anyone else.. so be sure to keep it private. It should have +Call it ``fedmsg.d/credentials.py``. It's needed to query FAS +for information about other users. When we deploy this thing to +production, we'll use a system account for this but for now, just +use your personal account. You don't want to accidentally share this +with anyone else. so be sure to keep it private. It should have contents like this:: config = { @@ -101,7 +88,7 @@ contents like this:: 'github.oauth_token': 'YOUR_GITHUB_TOKEN', } -Some widgets will work without the above info being present.. +Make sure to leave the '' around you username and password - don't delete them! Some widgets will work without the above info being present.. but it is needed for a subset of them. Feed Widget - the Extra Mile