Skip to content

Commit

Permalink
updated readme to reflect new build process
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Kridler committed Feb 28, 2016
1 parent 89f683d commit 7a9cc30
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions examples/datamaps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@ This example shows off the map featured in the MultiThreaded Blog: [The Most Col
Make sure pyxley is installed first (run `python setup.py install`).

## NPM
Install NPM (e.g brew install node). Then run `npm install -g` in the directory containing
package.json. `-g` will make bower available globally.
Install NPM (e.g brew install node).

### Bower
Create a file called `.bowerrc` containing
```json
{
"directory": "./project/static/bower_components"
}
```
This will tell bower where to install the packages.
## `pyxapp`
With the latest version of Pyxley comes a command line helper.

Now run `bower install` to install the bower components.
Type `pyxapp --init .` to initialize the folder. It will install
all of the dependencies in `package.json`.

# Flask
Run `python app.py`.

Run `python project/app.py`.

0 comments on commit 7a9cc30

Please sign in to comment.