Command line tool for bootstrapping cerebral 1.x app development. Not compatible with Cerebral 2 at the moment.
npm install cerebral-cli -g
- makes the cerebral
command available globally
- creates a basic project directory at
./my-app
- initializes new git repository
- installs npm dependencies
Default project settings are: React, Immutable Model, and the Devtools module. However, the CLI allows you to select other options.
- runs a webpack-dev-server at
localhost:3000
- reloads on file changes
- outputs bundle to
/build/bundle.js