Skip to content

avgils/generator-potree

 
 

Repository files navigation

generator-potree NPM version Build Status Dependency Status Coverage percentage

Generator for potree websites

Installation

This generator makes use of a few other software packages. So you ... have to install these first.

Then with node installed you should have the node package manager ... available. This provides you with the npm command.

With the npm command available you can install Bower, Gulp, Babel, and Yeoman and generator-potree using npm. It's common practice to install everything as a user, not as root.

npm install -g bower
npm install -g gulp
npm install -g babel-cli
npm install -g yo
npm install -g generator-potree

The last command will work once we register this module at npm. For ... now and when developing you can use the source code version.

cd generator-potree
npm link

Then generate your new project:

yo potree

This should show an interactive screen (in the command line) where you can answer a few technical questions. The result should be a website generated in your directory. You can start a local test server. If you want to deploy to another website you can build a static website.

# local server
gulp serve
# build a static website
gulp build

Getting To Know Yeoman

Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. Feel free to learn more about him.

License

Generator is based on an example in potree and on the gulp-webapp generator. GPLv3 © Fedor Baart on parts that are new.

Screenshot

screenshot Morro Bay

Todo

If you want to contribute, there's several things that you can do.

  • Add water
  • Add water from model results
  • Add water from tide gauges
  • Add option to select aerial map, based on public sources.
  • Cleanup webpage (template/index.html)
  • Make openlayers map optional (react on events)

About

Generator for potree websites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.3%
  • CSS 4.0%
  • HTML 1.7%