Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions appengine/standard/xmpp_wikibot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 '<YOUR XMPP USERNAME>' -p '<PASSWORD>'

Expand All @@ -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.
directory and installing all python dependencies there.