Skip to content

Commit

Permalink
Merge pull request #18 from DavidBruant/cleanups
Browse files Browse the repository at this point in the history
Cleanups
  • Loading branch information
vallettea committed Aug 19, 2014
2 parents 636adb5 + 723f2fc commit 9d4dec5
Show file tree
Hide file tree
Showing 24 changed files with 552 additions and 44,150 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
front/data
node_modules

data/
data/
front/app.js
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Right now the data has to be downloaded via the [dedicated GUI](http://data.lacu

1. `git clone` the project
1. `npm install`
1. `npm install -g browserify`

1. Extract all the buildings and metadata in `front/data`:

Expand All @@ -20,6 +21,8 @@ node tools/unzipCUB3ds.js --out front/data/ --zip path/to/3Ddata/BATI3D_NT.zip

It should take about 5 minutes in normal hardware. This will extract all the buildings and other 3d objects from the open data in [.3ds format](http://en.wikipedia.org/wiki/.3ds). It will create thousands of binary files in `front/data/` as well as a file names `metadata.json`.

1. `browserify front/src/main.js -o front/app.js -v -d`

1. Start the server

`````bash
Expand All @@ -28,6 +31,13 @@ node index.js

1. Open http://localhost:3000

# Dev

1. `npm install -g watchify`

> watchify front/src/main.js -o front/app.js -v -d


# Licence

[MIT](LICENCE)
Loading

0 comments on commit 9d4dec5

Please sign in to comment.