Update readme.md and docs
@@ -6,7 +6,7 @@ $ git clone https://github.com/bentoml/BentoML.git
$ cd BentoML
```
-Ensure you have python and pip installed, BentoML supports python _2.7_, _3.6_, and _3.7_
+Ensure you have python and pip installed, BentoML supports python _3.6_, and _3.7_
```bash
$ python --version
```
@@ -54,7 +54,7 @@ $ tox
If you want to run tests under conda for specific version, use `-e` option:
```bash
-$ tox -e py27
+$ tox -e py37
// or
$ tox -e py36
```
@@ -106,18 +106,32 @@ $ pip install -e .[dev]
To build documentation for locally:
```bash
-$ ./scripts/build-docs.sh
+$ ./docs/build.sh
```
Modify \*.rst files inside the `docs` folder to update content, and to
view your changes, run the following command:
```
-$ python -m http.server --directory built-docs
+$ python -m http.server --directory ./docs/build/html
```
And go to your browser at `http://localhost:8000`
+If you are developing under `macOS`, we also made a script that watches docs
+file changes, automatically rebuild the docs html files, and refresh the browser
+tab to show the change:
+
+Make sure you have fswatch command installed:
+```
+brew install fswatch
+```
+
+Run the `watch.sh` script to start watching docs changes:
+```
+$ ./docs/watch.sh
+```
+
## Creating Pull Request on Github
