Skip to content

electrodejs/deprecated-generator-electrode

Repository files navigation

generator-electrode NPM version Build Status Dependency Status

Deprecated

This repo has been moved to https://github.com/electrode-io/electrode#yeoman-generator

Generate Electrode Isomorphic Universal React App with NodeJS backend.

Installation

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-electrode

Note: You may need add sudo to 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 dist files
  • 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.

Built with ❤️ by Team Electrode @WalmartLabs.

License

Apache-2.0 © WalmartLabs

About

Yeoman generator for Electrode Isomorphic App

Resources

License

Stars

Watchers

Forks

Packages

No packages published