This repo has been moved to https://github.com/electrode-io/electrode#yeoman-generator
IsomorphicUniversal React App with NodeJS backend.
$ npm install -g yo gulp generator-electrode
Note: You may need add
sudoto the command.
Then generate your new project:
$ mkdir your-project-name $ cd your-project-name $ yo electrode
Note: 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.
Running the app
Once the application is generated and
npm install is completed, you are ready to try it out.
$ npm start
Wait 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 mode
gulp hot- start in webpack-dev-server hot mode
gulp build- build production
gulp server-prod- start server in production mode
gulp check- run unit tests with coverage
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
Apache-2.0 © WalmartLabs