0.1.2 • Published 5 years ago

generator-cesium v0.1.2

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

generator-cesium NPM version Build Status Dependency Status

Cesium + Express webapp generator for Yeoman

Installation

First, install Yeoman and generator-cesium using npm (we assume you have pre-installed node.js):

npm install -g yo
npm install -g generator-cesium

Then generate your new project:

yo cesium
? Type the context path to Cesium viewer (e.g. /cesium): /
? Type the name for your express app: app
? Select a version to install: Basic
? Select a view engine to use: Pug
? Select a css preprocessor to use: None
? Select a build tool to use: Grunt
   create .editorconfig
   create .gitignore
   create app.js
   create bin/www
   create package.json
   create routes/index.js
   create routes/user.js
   create views/error.pug
   create views/index.pug
   create views/layout.pug
   create public/css/style.css
   create Gruntfile.js
? Overwrite app/app.js? (ynaxdH) *y*

Run your new cesium server:

cd app/
npm start

License

MIT © James Fraser