From 95e40ed35509b7039ea30466f47341c1a91a0d89 Mon Sep 17 00:00:00 2001 From: Cory House Date: Sat, 30 Jan 2016 09:40:14 -0600 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f25554f6a..4f7be4e1d 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ Run this to [increase the limit](http://stackoverflow.com/questions/16748737/gru `echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p` **On Windows:** -1. **Install [Python 2.7](https://www.python.org/downloads/)**. Browser-sync (and various other Node modules) rely on node-gyp, which requires Python on Windows. -2. **Install C++ Compiler**. [Visual Studio Express](https://www.visualstudio.com/en-US/products/visual-studio-express-vs) comes bundled with a free C++ compiler. Or, if you already have Visual Studio installed: Open Visual Studio and go to File -> New -> Project -> Visual C++ -> Install Visual C++ Tools for Windows Desktop. The C++ compiler is used to compile browser-sync (and perhaps other Node modules). + 1. **Install [Python 2.7](https://www.python.org/downloads/)**. Browser-sync (and various other Node modules) rely on node-gyp, which requires Python on Windows. + 2. **Install C++ Compiler**. [Visual Studio Express](https://www.visualstudio.com/en-US/products/visual-studio-express-vs) comes bundled with a free C++ compiler. Or, if you already have Visual Studio installed: Open Visual Studio and go to File -> New -> Project -> Visual C++ -> Install Visual C++ Tools for Windows Desktop. The C++ compiler is used to compile browser-sync (and perhaps other Node modules). ##FAQ ###Why does this exist? @@ -107,21 +107,21 @@ No problem. Reference your CSS file in index.html, and add a step to the build p ### I just want an empty starter kit. This starter kit includes an example app so you can see how everything hangs together on a real app. To create an empty project, you can delete the following: -1. Components in src/components -2. Styles in src/styles/styles.scss -3. Delete files in src/businessLogic + 1. Components in src/components + 2. Styles in src/styles/styles.scss + 3. Delete files in src/businessLogic Don't want to use Redux? See the next question for some steps on removing Redux. ### Do I have to use Redux? Nope. Redux is useful for applications with more complex data flows. If your app is simple, Redux is overkill. Remove Redux like this: -1. Delete the following folders and their contents: actions, constants, reducers, containers, store -2. Uninstall Redux related packages: `npm uninstall redux react-redux redux-thunk` -3. Remove Redux related imports from /src/index.js: `import configureStore from './store/configureStore';`, `import App from './containers/App';` and `import { Provider } from 'react-redux';` -4. Remove this line from /src/index.js: `const store = configureStore();` -5. Delete components in /components and create a new empty component. -6. Replace the call to `` in /src/index.js with a call to the new top level component you just created in step 5. + 1. Delete the following folders and their contents: actions, constants, reducers, containers, store + 2. Uninstall Redux related packages: `npm uninstall redux react-redux redux-thunk` + 3. Remove Redux related imports from /src/index.js: `import configureStore from './store/configureStore';`, `import App from './containers/App';` and `import { Provider } from 'react-redux';` + 4. Remove this line from /src/index.js: `const store = configureStore();` + 5. Delete components in /components and create a new empty component. + 6. Replace the call to `` in /src/index.js with a call to the new top level component you just created in step 5. ### How do I deploy this? `npm run build`. This will build the project for production. It does the following: