Yeoman generator for Electrode Isomorphic App
Yeoman generator for Electrode Isomorphic App
This repo has been moved to https://github.com/electrode-io/electrode#yeoman-generator
Generate Electrode
IsomorphicUniversal React App with NodeJS backend.
First, install Yeoman, gulp, and generator-electrode using npm (we assume you have pre-installed node.js (> 4.2.x required)).
$ npm install -g yo gulp generator-electrodeNote: You may need add
sudoto the command.
Then generate your new project:
$ mkdir your-project-name
$ cd your-project-name
$ yo electrodeNote: If the app is not properly generated at the correct destination, make sure you do not have a .yo-rc.json file hidden in your CWD.
Once the application is generated and npm install is completed, you are ready to try it out.
$ npm startWait for webpack to be ready and navigate to http://localhost:3000 with your browser.
You can run gulp to see the list of tasks available.
Some common ones:
gulp dev - start in webpack-dev-server development modegulp hot - start in webpack-dev-server hot modegulp build - build production dist filesgulp server-prod - start server in production modegulp check - run unit tests with coverageBuilt with :heart: by Team Electrode @WalmartLabs.
Apache-2.0 © WalmartLabs
No open issues yet, or sync has not completed.