Skip to content

Commit

Permalink
(#7117) - Getting started guide for Python 3
Browse files Browse the repository at this point in the history
* update getting-started.md for Python 3

In Python 3, `SimpleHTTPServer` has been replaced by `http.server`.

* Update getting-started.md
  • Loading branch information
ngaruko authored and daleharvey committed Feb 28, 2018
1 parent 014a34d commit 4b9776d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ We will start with a template of the project where all the data related function

{% highlight bash %}
$ cd pouchdb-getting-started-todo
$ python -m SimpleHTTPServer
$ python -m SimpleHTTPServer # for Python 2
$ python -m http.server # for Python 3
{% endhighlight %}

Then visit [http://127.0.0.1:8000/](http://127.0.0.1:8000/). If you see the following screenshot, you are good to go:
Expand Down

0 comments on commit 4b9776d

Please sign in to comment.