From ac5e03ffb3b8229abb6ce68b6983495dae5806f7 Mon Sep 17 00:00:00 2001 From: halgrimur Date: Wed, 26 Oct 2016 12:34:26 -0700 Subject: [PATCH] Update README.md --- appengine/standard/xmpp_wikibot/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/appengine/standard/xmpp_wikibot/README.md b/appengine/standard/xmpp_wikibot/README.md index 98d50d007df..d533eb13e6e 100644 --- a/appengine/standard/xmpp_wikibot/README.md +++ b/appengine/standard/xmpp_wikibot/README.md @@ -16,6 +16,10 @@ chatbot does two things: ## Setup +You'll need to have an XMPP account prior to actually running the sample. +If you do not have one, you can easily create an account at one of the many +XMPP servers such as [Jabber.at](https://jabber.at/account/register/). + Follow the instructions at the [Compute Engine Quickstart Guide](https://cloud.google.com/compute/docs/quickstart-linux) on how to create a project, create a virtual machine, and connect to your @@ -48,15 +52,12 @@ the Google Cloud SDK. Before running or deploying this application, you must install the dependencies using [pip](http://pip.readthedocs.io/en/stable/): - pip install -r requirements.txt + sudo pip install -r requirements.txt ## Running the sample -You'll need to have an XMPP account prior to actually running the sample. -If you do not have one, you can easily create an account at one of the many -XMPP servers such as [Jabber.at](https://jabber.at/account/register/). -Once you have an account, run the following command: +To run the sample, invoke the following command: python wikibot.py -j '' -p '' @@ -69,4 +70,4 @@ Enter control-Z to stop the server ### Running on your local machine You may also run the sample locally by simply copying `wikibot.py` to a project -directory and installing all python dependencies there. \ No newline at end of file +directory and installing all python dependencies there.