generator-cesium

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i generator-cesium

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

8.5 kB

Total Files

6

Last publish

Collaborators

  • wulfgarpro