|
1 | 1 | # generator-webpack-redux-react |
2 | 2 |
|
3 | | -Helps start and build projects using [React](https://facebook.github.io/react/) and [Redux](https://github.com/rackt/redux). |
4 | | - |
5 | | -> [Yeoman](http://yeoman.io) generator |
6 | | -
|
| 3 | +Generator for a webpack-redux-react project with sub-generators for Components, Containers(Redux linked component), as well as Redux Actions and Reducers. |
7 | 4 |
|
8 | 5 | ## Getting Started |
9 | 6 |
|
10 | | -### What is Yeoman? |
11 | | - |
12 | | -Trick question. It's not a thing. It's this guy: |
13 | | - |
14 | | - |
15 | | - |
16 | | -Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create. |
17 | | - |
18 | | -Not every new computer comes with a Yeoman pre-installed. He lives in the [npm](https://npmjs.org) package repository. You only have to ask for him once, then he packs up and moves into your hard drive. *Make sure you clean up, he likes new and shiny things.* |
19 | | - |
| 7 | +Before: |
| 8 | +* Install yeoman if you don't have it: |
20 | 9 | ```bash |
21 | 10 | npm install -g yo |
22 | 11 | ``` |
23 | 12 |
|
24 | | -### Yeoman Generators |
25 | | - |
26 | | -Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension. |
27 | | - |
28 | | -To install generator-generator-kyper-react from npm, run: |
| 13 | +1. Install Generator: |
29 | 14 |
|
30 | 15 | ```bash |
31 | | -npm install -g generator-generator-kyper-react |
| 16 | +npm install -g generator-webpack-redux-react |
32 | 17 | ``` |
33 | | - |
34 | | -Finally, initiate the generator: |
| 18 | +2. Create a project folder and enter it: |
35 | 19 |
|
36 | 20 | ```bash |
37 | | -yo generator kyper react |
| 21 | +mkdir myProject && cd myProject |
38 | 22 | ``` |
39 | 23 |
|
40 | | -### Getting To Know Yeoman |
41 | | - |
42 | | -Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. |
43 | | - |
44 | | -If you'd like to get to know Yeoman better and meet some of his friends, [Grunt](http://gruntjs.com) and [Bower](http://bower.io), check out the complete [Getting Started Guide](https://github.com/yeoman/yeoman/wiki/Getting-Started). |
| 24 | +3.Initiate the generator: |
45 | 25 |
|
| 26 | +```bash |
| 27 | +yo webpack-redux-react |
| 28 | +``` |
46 | 29 |
|
47 | 30 | ## License |
48 | 31 |
|
|
0 commit comments